Difference between revisions of "Template:Item"
m (adjusting on DFM's template to add consume use.) |
m (testing, 1234.) |
||
Line 9: | Line 9: | ||
<br><br><big>'''How Obtained'''</big><br><hr> | <br><br><big>'''How Obtained'''</big><br><hr> | ||
{{#switch:{{{obtain|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{obtain}}}}} | {{#switch:{{{obtain|?}}}||?=<i>Unknown</i>[[Category:Incomplete]]|#default={{{obtain}}}}} | ||
− | |||
{{#ifeq:{{{usable|}}}|yes| | {{#ifeq:{{{usable|}}}|yes| | ||
<br><br><big>'''When Used'''</big><br><hr> | <br><br><big>'''When Used'''</big><br><hr> | ||
{{#switch:{{{used|?}}}||?=<i>Unknown</i>|#default={{{used}}}}}}} | {{#switch:{{{used|?}}}||?=<i>Unknown</i>|#default={{{used}}}}}}} | ||
− | |||
{{#ifeq:{{{combat|}}}|yes| | {{#ifeq:{{{combat|}}}|yes| | ||
<br><br><big>'''When Used In Combat'''</big><br><hr> | <br><br><big>'''When Used In Combat'''</big><br><hr> | ||
{{#switch:{{{combatuse|?}}}||?=<i>Unknown</i>|#default={{{combatuse}}}}}}} | {{#switch:{{{combatuse|?}}}||?=<i>Unknown</i>|#default={{{combatuse}}}}}}} | ||
− | |||
{{#ifeq:{{{consumable|}}}|yes| | {{#ifeq:{{{consumable|}}}|yes| | ||
<br><br><big>'''When Consumed'''</big><br><hr> | <br><br><big>'''When Consumed'''</big><br><hr> |
Revision as of 14:07, 15 November 2008
Template
{{item
|descid=
|itemid=
|name=
|plural=
|image=
|desc=
|type=
|power=
|level=
|range=
|autosell=
|nosell=yes<Optional.>
|nomem=yes<Optional.>
|notrade=yes<Optional.>
|consumable=yes<Optional.>
|usable=yes<Optional.>
|combat=yes<Optional.>
|weldable=yes<Optional.>
|ench=
|obtain=
|combatuse=<Only when item is usable in combat.>
|consume=<Only when item is consumable.>
|used=<Only when item is usable.>
|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...
Go back to Items by Nameroyal crown
(P: 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
Uses
none