Difference between revisions of "Template:Item"

From Twilight Heroes Wiki
Jump to: navigation, search
(Testing 1234. Let's see how quickly I need to undo this one.)
(Undo revision 5088 by Valera (Talk) A step closer. I think I might be able to correct things... reverting so others don't be borked)
Line 5: Line 5:
 
{{{desc}}}
 
{{{desc}}}
  
'''{{#switch: {{lc:}}{{{type}}} | shirt | shirts = Shirt | helmet | helmets = Helmet| accessory | accessories = Accessory | #default = {{{type}}}}}'''<br>
+
'''{{{type}}}'''<br>
{{#if: {{{power|}}} |'''Power: {{{power}}}'''<br>}}
+
<b>{{{ench}}}</b>
{{#if: {{{level|}}} |'''Level Required: {{{level}}}'''<br>}}
 
{{#if: {{{autosell|}}} |'''Autosell value: {{{autosell}}}'''}}
 
  
<b>{{#if: {{{ench|}}} | <br><br>{{{ench}}}}}</b>
+
[[Category:{{{type}}}]][[Category:Items]]</includeonly>
 
 
[[Category:{{#switch: {{lc:}}{{{type}}} | shirt | shirts = Shirts | helmet | helmets = Helmets | accessories | accessory = Accessories | #default = {{{type}}}}}]][[Category:Items]]</includeonly>
 
 
<noinclude>
 
<noinclude>
 
=Template=
 
=Template=
Line 22: Line 18:
 
|desc=</nowiki><br><nowiki>
 
|desc=</nowiki><br><nowiki>
 
|type=</nowiki><br><nowiki>
 
|type=</nowiki><br><nowiki>
|power=</nowiki><br><nowiki>
 
|level=</nowiki><br><nowiki>
 
|autosell=</nowiki><br><nowiki>
 
 
|ench=}}</nowiki>'''
 
|ench=}}</nowiki>'''
 
=Usage=
 
=Usage=
Line 36: Line 29:
 
|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.</nowiki><br><nowiki>
 
|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.</nowiki><br><nowiki>
 
|type=Helmet</nowiki><br><nowiki>
 
|type=Helmet</nowiki><br><nowiki>
|power=45<br></nowiki><br><nowiki>
+
|ench=Power: 45<br></nowiki><br><nowiki>
|level=8<br></nowiki><br><nowiki>
+
Level Required: 8<br> </nowiki><br><nowiki>
|autosell=125</nowiki><br><nowiki>
+
Autosell value: 125<br><br> </nowiki><br><nowiki>
|ench=+5% chips}}</nowiki>
+
+5% chips}}</nowiki>
  
 
'''Results in...'''
 
'''Results in...'''

Revision as of 00:43, 12 February 2008


Template

{{item
|descid=
|itemid=
|name=
|image=
|desc=
|type=
|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
|ench=Power: 45<br>
Level Required: 8<br>
Autosell value: 125<br><br>
+5% chips}}

Results in...

Go back to Items by Name
Item Number: 116
Description ID: 9734581
(view in-game)

Crown.gif

royal 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

+5% chips