Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
m (Add |piloting for "Skill Required: Passable Pilot")
 
(19 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
|#default={{{descid}}}}}<br>{{#switch:{{{descid|?}}}
 
|#default={{{descid}}}}}<br>{{#switch:{{{descid|?}}}
 
||!|?=
 
||!|?=
|#default=[http://www.twilightheroes.com/popup.php?item={{{descid}}} (view in-game)]}}}}</div>
+
|#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 11: 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''' ({{MeleeWeaponType|{{{weapontype}}}}})'''[[Category:Melee Weapons]]
+
|melee|melee weapons|melee weapon=Melee weapon''' ({{MeleeWeaponType|{{{weapontype}}}}})[[Category:Melee Weapons]]
|ranged|ranged weapons|ranged weapon=Ranged weapon''' ({{RangedWeaponType|{{{weapontype}}}}})'''[[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]]
<div style="position:fixed; right: 960px; bottom: 360px; overflow:visible;">
+
|gloves=Gloves'''[[Category:Gloves]]
[[File:Secretnazi2.gif|lawl]]
+
|transportation=Transportation'''[[Category:Transportation]]
</div>
+
|placeholder=''Placeholder Item'''''[[Category:Partially Implemented]]
<div style="position:fixed; right: 480px; bottom: 360px; overflow:visible;">
+
|#default=''Unknown''[[Category:Incomplete]]}}<br><noinclude>
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
<div style="position:fixed; right: 0px; bottom: 360px; overflow:visible;">
 
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
<div style="position:fixed; right: 960px; bottom: 0px; overflow:visible;">
 
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
<div style="position:fixed; right: 480px; bottom: 0px; overflow:visible;">
 
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
<div style="position:fixed; right: 0px; bottom: 0px; overflow:visible;">
 
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
|boots=Boots[[Category:Boots]]
 
|gloves=Gloves[[Category:Gloves]]
 
|transportation=Transportation[[Category:Transportation]]
 
|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:{{{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>{{#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>[[Category:NoMem]]|{{#ifeq:{{{unimplemented|}}}|yes||[[Category:Mem]]}}}}<noinclude>
 
  
 
</noinclude>{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}<noinclude>
 
</noinclude>{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}<noinclude>
Line 76: Line 59:
  
 
</noinclude>{{#ifeq:{{{weldable|}}}|yes|'''Can be welded'''<br>[[Category:Can be Welded]]}}<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>}}
 
</noinclude>{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}}
Line 88: Line 73:
 
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 
|none|!=
 
|none|!=
|missing=<br>
+
|missing=<br>[[Category:Items Needing Use Multiple]]
 
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 
|same=<br>
 
|same=<br>
Line 102: Line 87:
 
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 
'''''Using multiple:''' Unspecified''[[Category:Unspecified Multiple Use]]
 
|none|!=
 
|none|!=
|missing=<br><br>
+
|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]''
 
'''''Using multiple:''' Missing, please [http://www.twilightheroes.com/forums/viewtopic.php?f=2&t=771 report]''
 
|same=<br><br>
 
|same=<br><br>
Line 147: Line 146:
 
|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>
Line 153: Line 153:
 
|nomem=</nowiki><br><nowiki>
 
|nomem=</nowiki><br><nowiki>
 
|notrade=</nowiki><br><nowiki>
 
|notrade=</nowiki><br><nowiki>
|consumable=</nowiki><br><nowiki>
 
 
|noretcon=</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>
 +
|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>
 
|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>
 
|returnable=</nowiki>'''''set to "yes" if item can be "returned" to another player'''''<br><nowiki>
Line 164: Line 165:
 
|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>

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