Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
(New page: <includeonly><div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">Item Number: {{{itemid}}}<br>Descri...)
 
m (Add |piloting for "Skill Required: Passable Pilot")
 
(165 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly><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]]: {{{itemid}}}<br>Description ID: {{{descid}}}<br>[http://www.twilightheroes.com/popup.php?item={{{descid}}} (view in-game)]</div>
+
<includeonly>__NOTOC__<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">
<p style="text-align:center;">[[image:{{{image}}}]]</p>
+
{{#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|?}}}
'''{{{name}}}'''
+
||?=<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>
 +
'''{{{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>
 +
{{#if:{{{desc|}}}|{{{desc}}}|''Empty Description''[[Category:Empty Description]]}}
  
{{{desc}}}
+
'''{{#switch:{{lc:{{{type|?}}}}}||?=<i>Unknown</i>'''[[Category:Incomplete]]
 +
|talisman|talismans=Talisman'''[[Category:Talismans]]
 +
|full|full-body suit|full-body suits=Full-body suit'''[[Category:Full-body Suits]]
 +
|misc|miscellaneous item=Miscellaneous Item'''[[Category:Miscellaneous Items]]
 +
|offhand items|offhand item|offhand=Offhand Item'''[[Category:Offhand Items]]
 +
|melee|melee weapons|melee weapon=Melee weapon''' ({{MeleeWeaponType|{{{weapontype}}}}})[[Category:Melee Weapons]]
 +
|ranged|ranged weapons|ranged weapon=Ranged weapon''' ({{RangedWeaponType|{{{weapontype}}}}})[[Category:Ranged Weapons]]
 +
|shirt|shirts=Shirt'''[[Category:Shirts]]
 +
|helmet|helmets=Helmet'''[[Category:Helmets]]
 +
|acc|accessory|accessories=Accessory'''[[Category:Accessories]]
 +
|pants=Pants'''[[Category:Pants]]
 +
|boots=Boots'''[[Category:Boots]]
 +
|gloves=Gloves'''[[Category:Gloves]]
 +
|transportation=Transportation'''[[Category:Transportation]]
 +
|placeholder=''Placeholder Item'''''[[Category:Partially Implemented]]
 +
|#default=''Unknown''[[Category:Incomplete]]}}<br><noinclude>
  
'''{{{type}}}'''<br>
+
</noinclude>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}<noinclude>
<b>{{{ench}}}</b>
 
  
[[Category:{{{type}}}]][[Category:Items]]</includeonly>
+
</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:{{{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>{{#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:{{{usable|}}}|yes|'''Usable'''<br>[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|'''Usable'''<br>[[Category:Returnables]]}}}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{freepull|}}}|yes|'''Item is a free pull while in a retcon run'''<br>[[Category:Free Pulls]]}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{noretcon|}}}|yes|'''Item cannot be worn in runs with a 'no pulls' restriction'''<br>[[Category:Retcon Restricted]]}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{combat|}}}|yes|'''Combat Usable'''<br>[[Category:Combat Usables]]}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{weldable|}}}|yes|'''Can be welded'''<br>[[Category:Can be Welded]]}}<noinclude>
 +
 
 +
</noinclude>{{#ifeq:{{{vegetable|}}}|yes|'''Vegetable'''<br>[[Category:Vegetable]]}}<noinclude>
 +
 
 +
</noinclude>{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}}
 +
 
 +
<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>
 +
 
 +
</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|
 +
<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:{{{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|
 +
<br>
 +
<big>'''When Used in Combat'''</big><br><hr>
 +
{{#switch:{{{combatuse|?}}}||?=<i>Unknown</i>{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Incomplete]]}}|#default={{{combatuse}}}}}}}<noinclude>
 +
 
 +
</noinclude>{{#switch:{{{uses|?}}}||?=|none=|#default=<br>
 +
<big>'''Other Uses'''</big><br><hr>
 +
{{{uses}}}}}<noinclude>
 +
 
 +
</noinclude>
 +
[[Category:Items]]</includeonly>
 
<noinclude>
 
<noinclude>
 
=Template=
 
=Template=
'''<nowiki>{{item</nowiki><br><nowiki>
+
'''<nowiki>
 +
{{item</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>'''''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>
|ench=}}</nowiki>'''
+
|weapontype=</nowiki><br><nowiki>
 +
|power=</nowiki><br><nowiki>
 +
|level=</nowiki><br><nowiki>
 +
|range=</nowiki><br><nowiki>
 +
|piloting=</nowiki><br><nowiki>
 +
|autosell=</nowiki><br><nowiki>
 +
|nosell=</nowiki><br><nowiki>
 +
|nopull=</nowiki><br><nowiki>
 +
|freepull=</nowiki><br><nowiki>
 +
|nomem=</nowiki><br><nowiki>
 +
|notrade=</nowiki><br><nowiki>
 +
|noretcon=</nowiki><br><nowiki>
 +
|caffeine=</nowiki><br><nowiki>
 +
|caffeinefullness=</nowiki><br><nowiki>
 +
|sugar=</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>
 +
|weldable=</nowiki><br><nowiki>
 +
|vegetable=</nowiki><br><nowiki>
 +
|ench=</nowiki><br><nowiki>
 +
|obtain=</nowiki><br><nowiki>
 +
|combatuse=</nowiki><br><nowiki>
 +
|consume=</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>'''
 
=Usage=
 
=Usage=
 
'''Adding...'''
 
'''Adding...'''
Line 26: Line 180:
 
|itemid=116</nowiki><br><nowiki>
 
|itemid=116</nowiki><br><nowiki>
 
|name=royal crown</nowiki><br><nowiki>
 
|name=royal crown</nowiki><br><nowiki>
 +
|plural=royal crowns</nowiki><br><nowiki>
 
|image=crown.gif</nowiki><br><nowiki>
 
|image=crown.gif</nowiki><br><nowiki>
 
|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.</nowiki><br><nowiki>
 
|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.</nowiki><br><nowiki>
 
|type=Helmet</nowiki><br><nowiki>
 
|type=Helmet</nowiki><br><nowiki>
|ench=Power: 45<br></nowiki><br><nowiki>
+
|power=45</nowiki><br><nowiki>
Level Required: 8<br> </nowiki><br><nowiki>
+
|level=8</nowiki><br><nowiki>
Autosell value: 125<br><br> </nowiki><br><nowiki>
+
|autosell=125</nowiki><br><nowiki>
+5% chips}}</nowiki>
+
|ench=+5% chips</nowiki><br><nowiki>
 +
|obtain=[[Cube Theater]]</nowiki><br><nowiki>
 +
:*[[unidentifiable English king]]</nowiki><br><nowiki>
 +
|uses=none}}</nowiki>
  
 
'''Results in...'''
 
'''Results in...'''
 
<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]]</p>
+
<p style="text-align:center;">[[image:crown.gif|40px]]</p>
'''royal crown'''
+
'''royal crown'''<br>
 
+
<small>Plural: <i>royal crowns</i></small><br>
 
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.
 
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.
  
Line 46: Line 204:
 
'''Autosell value: 125'''<br><br>
 
'''Autosell value: 125'''<br><br>
 
'''+5% chips'''
 
'''+5% chips'''
 +
<br><br><big>'''How Obtained'''</big><br><hr>
 +
[[Cube Theater]]
 +
:*[[unidentifiable English king]]
 
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>
 
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>

Latest revision as of 19: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