Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
(Automatic resize of images)
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;">
 
<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;">
 
{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item|{{#switch:{{{itemid|?}}}||?=Item Number: <i>Unknown</i>[[Category:Incomplete]]|#default=[[Items by number ({{#ifexpr:{{{itemid}}}<=99|1|{{#expr:({{{itemid}}} - 50) round -2}}}}-{{#expr:99 + (({{{itemid}}} - 50) round -2)}})|Item Number]]: {{{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>
 
{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item|{{#switch:{{{itemid|?}}}||?=Item Number: <i>Unknown</i>[[Category:Incomplete]]|#default=[[Items by number ({{#ifexpr:{{{itemid}}}<=99|1|{{#expr:({{{itemid}}} - 50) round -2}}}}-{{#expr:99 + (({{{itemid}}} - 50) round -2)}})|Item Number]]: {{{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}}}|40px]]</p>
 
'''{{{name}}}'''<br>
 
'''{{{name}}}'''<br>
 
<small>Plural: <i>{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item; no plural exists|{{#switch:{{{plural|?}}}||?=Unknown[[Category:Unknown Plurals]]|!=Unknown; currently impossible to determine[[Category:Indeterminable Plurals]]|#default={{{plural}}}}}}}</i></small><br>
 
<small>Plural: <i>{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item; no plural exists|{{#switch:{{{plural|?}}}||?=Unknown[[Category:Unknown Plurals]]|!=Unknown; currently impossible to determine[[Category:Indeterminable Plurals]]|#default={{{plural}}}}}}}</i></small><br>
Line 130: Line 130:
 
'''Results in...'''
 
'''Results in...'''
 
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]]: 116<br>Description ID: 9734581<br>[http://www.twilightheroes.com/popup.php?item=9734581 (view in-game)]</div>
 
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]]: 116<br>Description ID: 9734581<br>[http://www.twilightheroes.com/popup.php?item=9734581 (view in-game)]</div>
<p style="text-align:center;">[[image:crown.gif]]</p>
+
<p style="text-align:center;">[[image:crown.gif|40px]]</p>
 
'''royal crown'''<br>
 
'''royal crown'''<br>
 
<small>Plural: <i>royal crowns</i></small><br>
 
<small>Plural: <i>royal crowns</i></small><br>
Line 143: Line 143:
 
[[Cube Theater]]
 
[[Cube Theater]]
 
:*[[unidentifiable English king]]
 
:*[[unidentifiable English king]]
<br><br><big>'''Other Uses'''</big><br><hr>
 
<i>none</i>
 
 
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>
 
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>

Revision as of 12:30, 4 June 2009


Template

{{item
|unimplemented=
|descid=
|itemid=
|name=
|plural=
|image=
|desc=
|type=
|power=
|level=
|range=
|autosell=
|nosell=
|nomem=
|notrade=
|consumable=
|caffeine=
|sugar=
|usable=
|combat=
|weldable=
|ench=
|obtain=
|combatuse=
|consume=
|used=
|uses=}}

Usage

  • Set plural to ! if the plural cannot be determined
  • Set unimplemented to yes if the item is a gag/unimplemented item. Such items have no itemid, miscid, obtain, plural

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
|obtain=[[Cube Theater]]
:*[[unidentifiable English king]]
|uses=none}}

Results in...

Go back to Items by Name
Item Number: 116
Description ID: 9734581
(view in-game)

Crown.gif

royal crown
Plural: 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

+5% chips



How Obtained

Cube Theater