Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
(Automatic resize of images)
m (Add |piloting for "Skill Required: Passable Pilot")
 
(62 intermediate revisions by 6 users not shown)
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__<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[[Category:Unimplemented Items]]|{{#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]]
 +
|!=<i>None</i>[[Category:Partially Implemented]]
 +
|#default={{{descid}}}}}<br>{{#switch:{{{descid|?}}}
 +
||!|?=
 +
|#default=[http://www.twilightheroes.com/popup.php?item={{{descid}}} (view in-game)]}}}}</div></div>
 
<p style="text-align:center;">[[image:{{{image}}}|40px]]</p>
 
<p style="text-align:center;">[[image:{{{image}}}|40px]]</p>
 
'''{{{name}}}'''<br>
 
'''{{{name}}}'''<br>
Line 6: Line 11:
 
{{#if:{{{desc|}}}|{{{desc}}}|''Empty Description''[[Category:Empty Description]]}}
 
{{#if:{{{desc|}}}|{{{desc}}}|''Empty Description''[[Category:Empty Description]]}}
  
'''{{#switch:{{lc:{{{type|?}}}}}||?=<i>Unknown</i>[[Category:Incomplete]]
+
'''{{#switch:{{lc:{{{type|?}}}}}||?=<i>Unknown</i>'''[[Category:Incomplete]]
|talisman|talismans=Talisman[[Category:Talismans]]
+
|talisman|talismans=Talisman'''[[Category:Talismans]]
|full|full-body suit|full-body suits=Full-body suit[[Category:Full-body Suits]]
+
|full|full-body suit|full-body suits=Full-body suit'''[[Category:Full-body Suits]]
|misc|miscellaneous item=Miscellaneous Item[[Category:Miscellaneous Items]]
+
|misc|miscellaneous item=Miscellaneous Item'''[[Category:Miscellaneous Items]]
|offhand items|offhand item|offhand=Offhand Item[[Category:Offhand Items]]
+
|offhand items|offhand item|offhand=Offhand Item'''[[Category:Offhand Items]]
|melee|melee weapons|melee weapon=Melee weapon[[Category:Melee Weapons]]
+
|melee|melee weapons|melee weapon=Melee weapon''' ({{MeleeWeaponType|{{{weapontype}}}}})[[Category:Melee Weapons]]
|ranged|ranged weapons|ranged weapon=Ranged weapon[[Category:Ranged Weapons]]
+
|ranged|ranged weapons|ranged weapon=Ranged weapon''' ({{RangedWeaponType|{{{weapontype}}}}})[[Category:Ranged Weapons]]
|shirt|shirts=Shirt[[Category:Shirts]]
+
|shirt|shirts=Shirt'''[[Category:Shirts]]
|helmet|helmets=Helmet[[Category:Helmets]]
+
|helmet|helmets=Helmet'''[[Category:Helmets]]
|acc|accessory|accessories=Accessory[[Category:Accessories]]
+
|acc|accessory|accessories=Accessory'''[[Category:Accessories]]
|pants=Pants[[Category:Pants]]
+
|pants=Pants'''[[Category:Pants]]
|boots=Boots[[Category:Boots]]
+
|boots=Boots'''[[Category:Boots]]
|gloves=Gloves[[Category:Gloves]]
+
|gloves=Gloves'''[[Category:Gloves]]
|transportation=Transportation[[Category:Transportation]]
+
|transportation=Transportation'''[[Category:Transportation]]
|#default=<i>Unknown</i>[[Category:Incomplete]]}}'''<br><noinclude>
+
|placeholder=''Placeholder Item'''''[[Category:Partially Implemented]]
 +
|#default=''Unknown''[[Category:Incomplete]]}}<br><noinclude>
  
 
</noinclude>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}<noinclude>
 
</noinclude>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}<noinclude>
  
</noinclude>{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>}}<noinclude>
+
</noinclude>{{#if:{{{range|}}}|'''Range: {{{range}}}'''<br>}}<noinclude>
  
</noinclude>{{#if:{{{range|}}}|'''Range: {{{range}}}'''<br>}}<noinclude>
+
</noinclude>{{#ifeq:{{{piloting|}}}|yes|'''Skill Required: Passable Pilot'''<br>}}<noinclude>
 +
 
 +
</noinclude>{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>{{#ifeq:{{IsEquipment|{{{type}}}}}|yes|[[Category:Level {{{level}}} Equipment]]|[[Category:Level Restricted Misc Items]]}}|{{#ifeq:{{IsEquipment|{{{type}}}}}|yes|[[Category:Level Free Equipment]]}}}}<noinclude>
  
 
</noinclude>{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}<noinclude>
 
</noinclude>{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}<noinclude>
 +
 +
</noinclude>{{#ifeq:{{{nomem|}}}|yes|'''Item cannot traded, sold, or placed in a memento display'''<br>[[Category:NoMem]]|{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Mem]]}}}}<noinclude>
  
 
</noinclude>{{#if:{{{autosell|}}}|'''Autosell value: {{{autosell}}}'''<br>}}<noinclude>
 
</noinclude>{{#if:{{{autosell|}}}|'''Autosell value: {{{autosell}}}'''<br>}}<noinclude>
  
</noinclude>{{#ifeq:{{{nomem|}}}|yes|'''Item cannot be placed in a memento display'''<br>}}<noinclude>
+
</noinclude>{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}<noinclude>
  
</noinclude>{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}<noinclude>
+
</noinclude>{{#ifeq:{{{nopull|}}}|yes|'''Item cannot be pulled while in a retcon run'''<br>[[Category:NoPull]]}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{caffeine|}}}|yes|'''Contains caffeine ({{{caffeinefullness}}})'''<br>[[Category:Caffeine]]}}{{#vardefine:consumable|{{#ifeq:{{{caffeine|}}}|yes|yes|no}}}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{sugar|}}}|yes|'''Contains sugar ({{{sugarfullness}}})'''<br>[[Category:Sugar]]}}{{#vardefine:consumable|{{#ifeq:{{{sugar|}}}|yes|yes|{{#var:consumable}}}}}}<noinclude>
  
</noinclude>{{#ifeq:{{{consumable|}}}|yes|<br>'''Consumable'''[[Category:Consumables]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{usable|}}}|yes|'''Usable'''<br>[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|'''Usable'''<br>[[Category:Returnables]]}}}}<noinclude>
  
</noinclude>{{#ifeq:{{{usable|}}}|yes|<br>'''Usable'''[[Category:Usables]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{freepull|}}}|yes|'''Item is a free pull while in a retcon run'''<br>[[Category:Free Pulls]]}}<noinclude>
  
</noinclude>{{#ifeq:{{{caffeine|}}}|yes|<br>'''Contains caffeine.'''[[Category:Caffeine]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{noretcon|}}}|yes|'''Item cannot be worn in runs with a 'no pulls' restriction'''<br>[[Category:Retcon Restricted]]}}<noinclude>
  
</noinclude>{{#ifeq:{{{sugar|}}}|yes|<br>'''Contains sugar.'''[[Category:Sugar]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{combat|}}}|yes|'''Combat Usable'''<br>[[Category:Combat Usables]]}}<noinclude>
  
</noinclude>{{#ifeq:{{{combat|}}}|yes|<br>'''Combat Usable'''[[Category:Combat Usables]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{weldable|}}}|yes|'''Can be welded'''<br>[[Category:Can be Welded]]}}<noinclude>
  
</noinclude>{{#ifeq:{{{weldable|}}}|yes|<br>'''Can be welded'''[[Category:Can be Welded]]}}<noinclude>
+
</noinclude>{{#ifeq:{{{vegetable|}}}|yes|'''Vegetable'''<br>[[Category:Vegetable]]}}<noinclude>
  
 
</noinclude>{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}}
 
</noinclude>{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}}
Line 52: Line 66:
 
<br><br><big>'''How Obtained'''</big><br><hr>
 
<br><br><big>'''How Obtained'''</big><br><hr>
 
{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item; cannot be obtained|{{#switch:{{{obtain|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{obtain}}}}}}}<noinclude>
 
{{#ifeq:{{{unimplemented|}}}|yes|Unimplemented item; cannot be obtained|{{#switch:{{{obtain|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{obtain}}}}}}}<noinclude>
 +
 +
</noinclude>{{#ifeq:{{#var:consumable}}|yes|
 +
<br>
 +
<big>'''When Consumed'''</big><br><hr>
 +
{{#switch:{{{consume|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{consume}}}}}{{#switch:{{{multiuse|?}}}||?=<br>
 +
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 +
|none|!=
 +
|missing=<br>[[Category:Items Needing Use Multiple]]
 +
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 +
|same=<br>
 +
'''''Using multiple:''' Same as single use''
 +
|#default=<br>
 +
'''''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|!=
 +
|missing=<br><br>[[Category:Items Needing Use Multiple]]
 +
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 +
|same=<br><br>
 +
'''''Using multiple:''' Same as single use''
 +
|#default=<br><br>
 +
'''''Using multiple:'''''<br>
 +
{{{multiuse}}}}}}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{vegetable|}}}|yes|
 +
<br>
 +
<big>'''When Used'''</big><br><hr>
 +
{{#switch:{{{used|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{used}}}}}{{#switch:{{{multiuse|?}}}||?=<br><br>
 +
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 +
|none|!=
 +
|missing=<br><br>[[Category:Items Needing Use Multiple]]
 +
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 +
|same=<br><br>
 +
'''''Using multiple:''' Same as single use''
 +
|#default=<br><br>
 +
'''''Using multiple:'''''<br>
 +
{{{multiuse}}}}}}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{returnable|}}}|yes|[[Category:Returnables]]
 +
<br>
 +
<big>'''When Returned through [{{{returntext}}}]'''</big><br><hr>
 +
{{#switch:{{{returned|?}}}||?=''Unknown''[[Category:Incomplete]]|#default={{{returned}}}}}
 +
:''Trying to return the item to yourself:''{{#switch:{{{returnself|?}}}||?=&nbsp;Unspecified[[Category:Incomplete]]|#default=<br>
 +
:{{{returnself}}}}}<br>
 +
'''''Effect on Receiver:'''''{{#switch:{{{returnedreceiver|?}}}||?=&nbsp;Unspecified[[Category:Incomplete]]|#default=<br>
 +
{{{returnedreceiver}}}}}
 +
}}<noinclude>
  
 
</noinclude>{{#ifeq:{{{combat|}}}|yes|
 
</noinclude>{{#ifeq:{{{combat|}}}|yes|
 
<br>
 
<br>
<big>'''When Used In Combat'''</big><br><hr>
+
<big>'''When Used in Combat'''</big><br><hr>
 
{{#switch:{{{combatuse|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{combatuse}}}}}}}<noinclude>
 
{{#switch:{{{combatuse|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{combatuse}}}}}}}<noinclude>
 
</noinclude>{{#ifeq:{{{consumable|}}}|yes|
 
<br>
 
<big>'''When Consumed'''</big><br><hr>
 
{{#switch:{{{consume|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{consume}}}}}}}<noinclude>
 
  
 
</noinclude>{{#switch:{{{uses|?}}}||?=|none=|#default=<br>
 
</noinclude>{{#switch:{{{uses|?}}}||?=|none=|#default=<br>
Line 78: Line 134:
 
'''<nowiki>
 
'''<nowiki>
 
{{item</nowiki><br><nowiki>
 
{{item</nowiki><br><nowiki>
|unimplemented=</nowiki><br><nowiki>
+
|unimplemented=</nowiki>'''''Set to yes if the item is a gag/unimplemented item. Such items have no itemid, descid, obtain, plural etc.'''''<br><nowiki>
 
|descid=</nowiki><br><nowiki>
 
|descid=</nowiki><br><nowiki>
 
|itemid=</nowiki><br><nowiki>
 
|itemid=</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
|plural=</nowiki><br><nowiki>
+
|plural=</nowiki>'''''Set to ! if the plural cannot be determined'''''<br><nowiki>
 
|image=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
 
|desc=</nowiki><br><nowiki>
 
|desc=</nowiki><br><nowiki>
 
|type=</nowiki><br><nowiki>
 
|type=</nowiki><br><nowiki>
 +
|weapontype=</nowiki><br><nowiki>
 
|power=</nowiki><br><nowiki>
 
|power=</nowiki><br><nowiki>
 
|level=</nowiki><br><nowiki>
 
|level=</nowiki><br><nowiki>
 
|range=</nowiki><br><nowiki>
 
|range=</nowiki><br><nowiki>
 +
|piloting=</nowiki><br><nowiki>
 
|autosell=</nowiki><br><nowiki>
 
|autosell=</nowiki><br><nowiki>
 
|nosell=</nowiki><br><nowiki>
 
|nosell=</nowiki><br><nowiki>
 +
|nopull=</nowiki><br><nowiki>
 +
|freepull=</nowiki><br><nowiki>
 
|nomem=</nowiki><br><nowiki>
 
|nomem=</nowiki><br><nowiki>
 
|notrade=</nowiki><br><nowiki>
 
|notrade=</nowiki><br><nowiki>
|consumable=</nowiki><br><nowiki>
+
|noretcon=</nowiki><br><nowiki>
 
|caffeine=</nowiki><br><nowiki>
 
|caffeine=</nowiki><br><nowiki>
 +
|caffeinefullness=</nowiki><br><nowiki>
 
|sugar=</nowiki><br><nowiki>
 
|sugar=</nowiki><br><nowiki>
|usable=</nowiki><br><nowiki>
+
|sugarfullness=</nowiki><br><nowiki>
 +
|usable=</nowiki>'''''don't set to "yes" if the item's only use it to send to other people, in which case set "returnable" to "yes". Such items will not have a "use item" link.'''''<br><nowiki>
 +
|returnable=</nowiki>'''''set to "yes" if item can be "returned" to another player'''''<br><nowiki>
 +
|returntext=</nowiki>'''''link text for sending item to another player'''''<br><nowiki>
 +
|returnself=</nowiki>'''''text when trying to send item to yourself'''''<br><nowiki>
 +
|returnedreceiver=</nowiki>'''''text seen by the receiver of the item'''''<br><nowiki>
 
|combat=</nowiki><br><nowiki>
 
|combat=</nowiki><br><nowiki>
 
|weldable=</nowiki><br><nowiki>
 
|weldable=</nowiki><br><nowiki>
 +
|vegetable=</nowiki><br><nowiki>
 
|ench=</nowiki><br><nowiki>
 
|ench=</nowiki><br><nowiki>
 
|obtain=</nowiki><br><nowiki>
 
|obtain=</nowiki><br><nowiki>
Line 104: Line 171:
 
|consume=</nowiki><br><nowiki>
 
|consume=</nowiki><br><nowiki>
 
|used=</nowiki><br><nowiki>
 
|used=</nowiki><br><nowiki>
 +
|multiuse=</nowiki>'''''state ! for none, "same" if it is the same as single use, "missing" if you believe there should be and there isn't'''''<br><nowiki>
 
|uses=}}</nowiki>'''
 
|uses=}}</nowiki>'''
 
=Usage=
 
=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...'''
 
'''Adding...'''
  
Line 129: Line 193:
  
 
'''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>
+
<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|40px]]</p>
 
<p style="text-align:center;">[[image:crown.gif|40px]]</p>
 
'''royal crown'''<br>
 
'''royal crown'''<br>

Latest revision as of 18:11, 4 November 2016


Template

{{item
|unimplemented=
Set to yes if the item is a gag/unimplemented item. Such items have no itemid, descid, obtain, plural etc.
|descid=
|itemid=
|name=
|plural=
Set to ! if the plural cannot be determined
|image=
|desc=
|type=
|weapontype=
|power=
|level=
|range=
|piloting=
|autosell=
|nosell=
|nopull=
|freepull=
|nomem=
|notrade=
|noretcon=
|caffeine=
|caffeinefullness=
|sugar=
|sugarfullness=
|usable=
don't set to "yes" if the item's only use it to send to other people, in which case set "returnable" to "yes". Such items will not have a "use item" link.
|returnable=
set to "yes" if item can be "returned" to another player
|returntext=
link text for sending item to another player
|returnself=
text when trying to send item to yourself
|returnedreceiver=
text seen by the receiver of the item
|combat=
|weldable=
|vegetable=
|ench=
|obtain=
|combatuse=
|consume=
|used=
|multiuse=
state ! for none, "same" if it is the same as single use, "missing" if you believe there should be and there isn't
|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
|obtain=[[Cube Theater]]
:*[[unidentifiable English king]]
|uses=none}}

Results in...

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