Difference between revisions of "Template:Item"
m |
m (added usable and weldable.) |
||
Line 5: | Line 5: | ||
{{{desc}}} | {{{desc}}} | ||
− | '''{{#switch:{{lc:{{{type}}}}}|offhand items|offhand item|offhand=Offhand Item|melee weapons|melee weapon=Melee weapon|ranged weapons|ranged weapon=Ranged weapon|shirt|shirts=Shirt|helmet|helmets=Helmet|accessory|accessories=Accessory|#default={{{type}}}}}'''<br>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>}}{{#if:{{{autosell|}}}|'''Autosell value: {{{autosell}}}'''<br>}}{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}} | + | '''{{#switch:{{lc:{{{type}}}}}|offhand items|offhand item|offhand=Offhand Item|melee weapons|melee weapon=Melee weapon|ranged weapons|ranged weapon=Ranged weapon|shirt|shirts=Shirt|helmet|helmets=Helmet|accessory|accessories=Accessory|#default={{{type}}}}}'''<br>{{#if:{{{power|}}}|'''Power: {{{power}}}'''<br>}}{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>}}{{#if:{{{autosell|}}}|'''Autosell value: {{{autosell}}}'''<br>}}{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}{{#ifeq:{{{nosell|}}}|yes|'''Item cannot be auto-sold'''<br>}}{{#ifeq:{{{usable|}}}|yes|<br>'''Usable'''[[Category:Usables]]}}{{#ifeq:{{{weldable|}}}|yes|<br>'''Can be welded'''[[Category:Can be Welded]]}}{{#if:{{{ench|}}}|<br><b>{{{ench}}}</b>}} |
[[Category:{{#switch:{{lc:{{{type}}}}}|offhand items|offhand item|offhand=Offhand Items|melee weapons|melee weapon=Melee Weapons|ranged weapons|ranged weapon=Ranged Weapons|shirt|shirts=Shirts|helmet|helmets=Helmets|accessories|accessory=Accessories|#default={{{type}}}}}]][[Category:Items]]</includeonly> | [[Category:{{#switch:{{lc:{{{type}}}}}|offhand items|offhand item|offhand=Offhand Items|melee weapons|melee weapon=Melee Weapons|ranged weapons|ranged weapon=Ranged Weapons|shirt|shirts=Shirts|helmet|helmets=Helmets|accessories|accessory=Accessories|#default={{{type}}}}}]][[Category:Items]]</includeonly> | ||
Line 22: | Line 22: | ||
|nosell=yes</nowiki><i><Optional.></i><br><nowiki> | |nosell=yes</nowiki><i><Optional.></i><br><nowiki> | ||
|notrade=yes</nowiki><i><Optional.></i><br><nowiki> | |notrade=yes</nowiki><i><Optional.></i><br><nowiki> | ||
+ | |usable=yes</nowiki><i><Optional.></i><br><nowiki> | ||
+ | |weldable=yes</nowiki><i><Optional.></i><br><nowiki> | ||
|ench=}}</nowiki>''' | |ench=}}</nowiki>''' | ||
=Usage= | =Usage= |
Revision as of 01:29, 12 February 2008
Template
{{item
|descid=
|itemid=
|name=
|image=
|desc=
|type=
|power=
|level=
|autosell=
|nosell=yes<Optional.>
|notrade=yes<Optional.>
|usable=yes<Optional.>
|weldable=yes<Optional.>
|ench=}}
Usage
Adding...
{{item
|descid=9734581
|itemid=116
|name=royal crown
|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}}
Results in...
Go back to Items by Nameroyal crown
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