Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
<div style="position:fixed; right: 960px; bottom: 360px; overflow:visible;">
 +
[[File:Secretnazi2.gif|lawl]]
 +
</div>
 +
<div style="position:fixed; right: 480px; bottom: 360px; overflow:visible;">
 +
[[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>
 +
 
<includeonly>__NOTOC__<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">
 
<includeonly>__NOTOC__<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">
 
{{#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|?}}}
 
{{#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|?}}}
Line 22: Line 41:
 
|acc|accessory|accessories=Accessory[[Category:Accessories]]
 
|acc|accessory|accessories=Accessory[[Category:Accessories]]
 
|pants=Pants[[Category:Pants]]
 
|pants=Pants[[Category:Pants]]
 
<div style="position:fixed; right: 960px; bottom: 360px; overflow:visible;">
 
[[File:Secretnazi2.gif|lawl]]
 
</div>
 
<div style="position:fixed; right: 480px; bottom: 360px; overflow:visible;">
 
[[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]]
 
|boots=Boots[[Category:Boots]]
 
|gloves=Gloves[[Category:Gloves]]
 
|gloves=Gloves[[Category:Gloves]]

Revision as of 14:21, 22 November 2010


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=
|autosell=
|nosell=
|nopull=
|freepull=
|nomem=
|notrade=
|consumable=
|noretcon=
|caffeine=
|sugar=
|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=
|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