Difference between revisions of "Template:Item"
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 31: | Line 31: | ||
== The Template == | == The Template == | ||
</noinclude> | </noinclude> | ||
< | <table class="item-table background-color"> | ||
< | <tr> | ||
< | <td class="item-info-side"> | ||
< | <table class="background-color"> | ||
< | <tr> | ||
<td> | |||
<table class="background-color"> | |||
<tr> | |||
<td class="icon"> | |||
<!-- Icon Image --> | |||
[[File:{{{name}}}_Icon.png|link=|40px|x40px|]] | [[File:{{{name}}}_Icon.png|link=|40px|x40px|]] | ||
</ | </td> | ||
< | <td class="title"> | ||
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]] | |||
</ | </td> | ||
</ | </tr> | ||
< | </table> | ||
< | </td> | ||
</tr> | |||
<tr> | |||
<td> | |||
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | '''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | ||
'''Enchantments:''' | '''Enchantments:''' | ||
{{{enchantments|}}}{{MaterialDR|{{{material}}}}} | {{{enchantments|}}}{{MaterialDR|{{{material}}}}} | ||
{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}} | {{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}} | ||
< | <br> | ||
< | <br> | ||
'''Description:''' ''{{{description}}} '' | '''Description:''' ''{{{description}}} '' | ||
</ | </td> | ||
</ | </tr> | ||
</ | </table> | ||
< | </td> | ||
< | <td class="item-image-side"> | ||
<table class="item-image background-color"> | |||
{{#switch: {{{type}}} | {{#switch: {{{type}}} | ||
| Goggles | Helmet = < | | Goggles | Helmet = <tr><td style="text-align:center; border-bottom: solid 1px white; padding-bottom:15px;margin-bottom:10px;">[[File:{{{name}}}.png|300px|]]</td></tr>|}} | ||
|}} | <tr> | ||
< | <td> | ||
< | {{#if: {{{details}}} | '''Extra Details:''' {{{details}}}<br>}} | ||
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}} | |||
</td> | |||
</tr> | |||
</table> | |||
{{#if: {{{details}}} | | </td> | ||
{{#if: {{{upgradeable|}}} | | </tr> | ||
</ | </table> | ||
</ | |||
[[Category:{{{type}}}]] | [[Category:{{{type}}}]] | ||
[[Category:Update {{{update|Unknown}}} Loot]] | [[Category:Update {{{update|Unknown}}} Loot]] | ||
[[Category:Minimum Level {{{minlevel}}} Items]] | [[Category:Minimum Level {{{minlevel}}} Items]] |
Revision as of 17:02, 9 May 2018
How To Use This Template[edit]
The basic template for items in DDO. See Template:Weapon for weapons and Template:Armor for anything that is equipped to the Armor slot.
Orbs, Shields, and other items that can be wielded but are not weapons are TBD.
All generic equippable items (non-weapon, non-armor, non-shield) on this wiki should start with a blank page containing the following:
{{Template:Item |name = |type = |minlevel = |binding = (Blank for Unbound or one of: BtC = Bound to Character, BtA = Bound to Account, BtCoE = Bound to Character on Equip, BtCoA = Bound to Character on Aquire, BtAoE = Bound to Account on Equip, BtAoA = Bound to Account on Aquire) |enchantments = |description = |droplocation = (If there is one, put it on this line using template:droplocation, otherwise put on a new line and lead each with and asterisk) |material = |hardness = |durability = |update = |details = |upgradeable = }}
Fill in the information, using a completed item - such as Pale Lavender Ioun Stone - for an example. When you preview or save the page, it will format itself!
The Template[edit]
|
|
[[Category:{{{type}}}]] [[Category:Minimum Level {{{minlevel}}} Items]]