|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>__NOTOC__<div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;"> | + | <includeonly></includeonly> |
− | {{#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>
| |
− | <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]]}}
| |
− | | |
− | '''{{#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>
| |
− | | |
− | </noinclude>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}<noinclude>
| |
− | | |
− | </noinclude>{{#if:{{{range|}}}|'''Range: {{{range}}}'''<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|?}}}||?= Unspecified[[Category:Incomplete]]|#default=<br>
| |
− | :{{{returnself}}}}}<br>
| |
− | '''''Effect on Receiver:'''''{{#switch:{{{returnedreceiver|?}}}||?= 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>__NOTOC__ | | <noinclude>__NOTOC__ |
| ==Instructions== | | ==Instructions== |
This is a test template for use in testing template code before pushing it live onto the wiki. To test template code, insert it between the "includeonly" tags. The template can then be called with {{test|list of parameters}} on any other page to view the test results.