Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
(Really attempting to standardize multi-use this time)
Line 56: Line 56:
 
<br>
 
<br>
 
<big>'''When Consumed'''</big><br><hr>
 
<big>'''When Consumed'''</big><br><hr>
{{#switch:{{{consume|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{consume}}}}}}}<noinclude>
+
{{#switch:{{{consume|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{consume}}}}}{{#switch:{{{multiuse|?}}}||?='''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 +
|none|!=
 +
|missing='''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 +
|same='''''Using multiple:''' Same as single use''
 +
|#default='''''Using multiple:'''''<br>
 +
{{{multiuse}}}}}}}<noinclude>
  
 
</noinclude>{{#ifeq:{{{usable|}}}|yes|
 
</noinclude>{{#ifeq:{{{usable|}}}|yes|
 
<br>
 
<br>
 
<big>'''When Used'''</big><br><hr>
 
<big>'''When Used'''</big><br><hr>
{{#switch:{{{used|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{used}}}}}}}<noinclude>
+
{{#switch:{{{used|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{used}}}}}{{#switch:{{{multiuse|?}}}||?=<br><br>'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 
+
|none|!=
</noinclude>{{#switch:{{{multiused|?}}}||?=|none=|#default=<br><br>
+
|missing=<br><br>'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
'''''Using multiple:'''''<br>
+
|same=<br><br>'''''Using multiple:''' Same as single use''
{{{multiused}}}}}<noinclude>
+
|#default=<br><br>'''''Using multiple:'''''<br>
 +
{{{multiuse}}}}}}}<noinclude>
  
 
</noinclude>{{#ifeq:{{{combat|}}}|yes|
 
</noinclude>{{#ifeq:{{{combat|}}}|yes|
Line 108: Line 114:
 
|consume=</nowiki><br><nowiki>
 
|consume=</nowiki><br><nowiki>
 
|used=</nowiki><br><nowiki>
 
|used=</nowiki><br><nowiki>
|multiused=</nowiki><br><nowiki>
+
|multiuse=</nowiki>'''''(state ! for none, "missing" if you believe there should be)'''''<br><nowiki>
 
|uses=}}</nowiki>'''
 
|uses=}}</nowiki>'''
 
=Usage=
 
=Usage=

Revision as of 07:05, 6 September 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=
|multiuse=
(state ! for none, "missing" if you believe there should be)
|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