Difference between revisions of "Template:Item"
Line 1: | Line 1: | ||
− | <includeonly>__NOTOC__Go back to [[Items by Name]]<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Items by number (1-99)|Item Number]]: {{#switch:{{{itemid|?}}}||?=Unknown[[Category:Incomplete]]|#default={{{itemid}}}}}<br>Description ID: {{#switch:{{{descid|?}}}||?=Unknown[[Category:Incomplete]]|#default={{{descid}}}}}<br>{{#switch:{{{descid|?}}}||?=|#default=[http://www.twilightheroes.com/popup.php?item={{{descid}}} (view in-game)]}}</div> | + | <includeonly>__NOTOC__Go back to [[Items by Name]]<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Items by number (1-99)|Item Number]]: {{#switch:{{{itemid|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{itemid}}}}}<br>Description ID: {{#switch:{{{descid|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{descid}}}}}<br>{{#switch:{{{descid|?}}}||?=|#default=[http://www.twilightheroes.com/popup.php?item={{{descid}}} (view in-game)]}}</div> |
<p style="text-align:center;">[[image:{{{image}}}]]</p> | <p style="text-align:center;">[[image:{{{image}}}]]</p> | ||
'''{{{name}}}'''<br> | '''{{{name}}}'''<br> | ||
− | <small>(<b><i>P:</i></b> <i>{{#switch:{{{plural|?}}}||?=Unknown[[Category:Incomplete]]|#default={{{plural}}}}}</i>)</small><br> | + | <small>(<b><i>P:</i></b> <i>{{#switch:{{{plural|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{plural}}}}}</i>)</small><br> |
{{{desc}}} | {{{desc}}} | ||
Line 8: | Line 8: | ||
==How Obtained== | ==How Obtained== | ||
− | {{#switch:{{{obtain|?}}}||?=Unknown[[Category:Incomplete]]|#default={{{obtain}}}}}<br><br> | + | {{#switch:{{{obtain|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{obtain}}}}}<br><br> |
− | {{#ifeq:{{{usable|}}}|yes|==When Used=={{#switch:{{{used|?}}}||?=Unknown[[Category:Incomplete]]|#default={{{used}}}}}<br><br>}} | + | {{#ifeq:{{{usable|}}}|yes| ==When Used== {{#switch:{{{used|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{used}}}}}<br><br>}} |
==Uses== | ==Uses== |
Revision as of 22:52, 9 November 2008
Template
{{item
|descid=
|itemid=
|name=
|plural=
|image=
|desc=
|type=
|power=
|level=
|range=
|autosell=
|nosell=yes<Optional.>
|nomem=yes<Optional.>
|notrade=yes<Optional.>
|consumable=yes<Optional.>
|usable=yes<Optional.>
|combat=yes<Optional.>
|weldable=yes<Optional.>
|ench=
|obtain=
|used=
|uses=}}
Usage
Adding...
{{item
|descid=9734581
|itemid=116
|name=royal crown
|plural=royal crowns
|image=crown.gif
|desc=No matter how thirsty you are, you can't drink this--it's not that kind of royal crown. It does make you look kingly, though, which is good for increasing the tributes you get.
|type=Helmet
|power=45
|level=8
|autosell=125
|ench=+5% chips}}
Results in...
Go back to Items by Nameroyal crown
(P: royal crowns)
No matter how thirsty you are, you can't drink this--it's not that kind of royal crown. It does make you look kingly, though, which is good for increasing the tributes you get.
Helmet
Power: 45
Level Required: 8
Autosell value: 125