Difference between revisions of "Template:Infobox equipment"
From Wildermyth Wiki
m |
(Added infoboxEquipment style) |
||
Line 1: | Line 1: | ||
<includeonly><table class="floatright | <includeonly><table class="floatright infoboxEquipment"><!-- | ||
--><th | --><th>'''{{{name}}}'''</th><!-- | ||
--><tr><td>[[Image:{{{image}}}|center|184px]]</td></tr><!-- | --><tr><td>[[Image:{{{image}}}|center|184px]]</td></tr><!-- | ||
--><th | --><th>'''Type'''</th><!-- | ||
--><tr><td>{{#if:{{{type|}}}|{{{type}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{type|}}}|{{{type}}}|???}}</td></tr><!-- | ||
--><th | --><th>'''Slot'''</th><!-- | ||
--><tr><td>{{#if:{{{slot|}}}|{{{slot}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{slot|}}}|{{{slot}}}|???}}</td></tr><!-- | ||
--><th | --><th>'''Effect'''</th><!-- | ||
--><tr><td>{{#if:{{{effect|}}}|{{{effect}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{effect|}}}|{{{effect}}}|???}}</td></tr><!-- | ||
--><th | --><th>'''Acquired by'''</th><!-- | ||
--><tr><td>{{#if:{{{acquisition|}}}|{{{acquisition}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{acquisition|}}}|{{{acquisition}}}|???}}</td></tr><!-- | ||
--></table></includeonly><noinclude> | --></table></includeonly><noinclude> |
Revision as of 08:20, 23 November 2019
- This documentation is transcluded from Template:Infobox equipment/doc
Usage
This template displays an Infobox for an item. The Infobox uses the following parameters:
- name
- Name of the item
- image
- Image filename for the item
- type
- Type of Item: Weapon, Earring, Armor
- slot
- Left/Right Arm, Head, Chest...
- effect
- Damage, Healing, Stat increase
- acquisition
- Active/Passive
Example
{{Infobox equipment | name = Eaglefeather Talisman | image = eaglefeather.png | type = Augment | slot = Talisman | effect = +1 Health | acquisition = [[Crag Eagle]] }}
Eaglefeather Talisman |
---|
Type |
Augment |
Slot |
Talisman |
Effect |
+1 Health |
Acquired by |
Crag Eagle |