Template:Item: Difference between revisions
Hoyifung04 (talk | contribs) m closing unclosed <div> |
Cleanup consumable |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
</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> | ||
Line 44: | Line 46: | ||
</noinclude>{{#ifeq:{{{nopull|}}}|yes|'''Item cannot be pulled while in a retcon run'''<br>[[Category:NoPull]]}}<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]] | </noinclude>{{#ifeq:{{{caffeine|}}}|yes|'''Contains caffeine ({{{caffeinefullness}}})'''<br>[[Category:Caffeine]]}}<noinclude> | ||
</noinclude>{{#ifeq:{{{sugar|}}}|yes|'''Contains sugar ({{{sugarfullness}}})'''<br>[[Category:Sugar]] | </noinclude>{{#ifeq:{{{sugar|}}}|yes|'''Contains sugar ({{{sugarfullness}}})'''<br>[[Category:Sugar]]}}<noinclude> | ||
</noinclude>{{#ifeq:{{{usable|}}}|yes|'''Usable'''<br>[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|'''Usable'''<br>[[Category:Returnables]]}}}}<noinclude> | </noinclude>{{#ifeq:{{{usable|}}}|yes|'''Usable'''<br>[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|'''Usable'''<br>[[Category:Returnables]]}}}}<noinclude> | ||
Line 65: | Line 67: | ||
{{#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:{{ | </noinclude>{{#ifeq:{{{consumable|}}}|yes| | ||
<br> | <br> | ||
<big>'''When Consumed'''</big><br><hr> | <big>'''When Consumed'''</big><br><hr> | ||
Line 144: | 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> |
Latest revision as of 13:42, 16 July 2025
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=
|consumable=
|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...
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