Difference between revisions of "Template:Item"
MNDeveloper (talk | contribs) |
(updated to be fully responsive) |
||
Line 8: | Line 8: | ||
All generic equippable items (non-weapon, non-armor, non-shield) on this wiki should start with a blank page containing the following: | All generic equippable items (non-weapon, non-armor, non-shield) on this wiki should start with a blank page containing the following: | ||
< | <pre> | ||
{{Template:Item | |||
|name = | |||
|type = | |||
|minlevel = | |||
|binding = | |||
|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 = | |||
}} | |||
</ | </pre> | ||
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! | 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! | ||
Line 31: | Line 31: | ||
== The Template == | == The Template == | ||
</noinclude> | </noinclude> | ||
< | <div class="row" style="border: 1px solid #B0B5B8; background-color: #000;"> | ||
< | <!-- Left Info --> | ||
<div class="col-xs-12 col-md-6" style="border: 1px solid #B0B5B8; padding: 15px; background-color: #000;"> | |||
< | <div class="row"> | ||
< | <div class="col-xs-2"><!-- Icon Image --> | ||
< | [[File:{{{name}}}_Icon.png|link=|40px|x40px|]] | ||
</div> | |||
< | <div class="col-cs-10 text-center"><!-- Item Name & Category --> | ||
< | {{{name}}} | ||
< | <br> | ||
[[:Category:{{{type}}}|{{{type}}}]] | |||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-xs-12"> | |||
'''Minimum Level:''' {{{minlevel}}} | |||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-xs-12"> | |||
{{{binding}}} | |||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-xs-12"> | |||
'''Enchantments:''' | |||
<br> | |||
{{{enchantments|}}}{{MaterialDR|{{{material}}}}} | {{{enchantments|}}}{{MaterialDR|{{{material}}}}} | ||
</ | </div> | ||
< | </div> | ||
< | <div class="row"> | ||
</ | <div class="col-xs-12"> | ||
< | {{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}} | ||
< | </div> | ||
</div> | |||
<div class="row"> | |||
<div class="col-xs-12"> | |||
'''Description:''' ''{{{description}}}'' | |||
</div> | |||
</div> | |||
</div> | |||
<!-- Right Info --> | |||
<div class="col-xs-12 col-md-6" style="border: 1px solid #B0B5B8; padding: 15px; background-color: #000;"> | |||
{{#switch: {{{type}}} | {{#switch: {{{type}}} | ||
| Goggles | Helmet = < | | Goggles | Helmet = <div class="row"><div class="col-xs-12 center">[[File:{{{name}}}.png|300px|]]</div></div><hr> | ||
|}} | |||
|}} | <div class="row"> | ||
'''Drop Location:''' | <div class="col-xs-12"> | ||
{{{droplocation|}}} | '''Drop Location:''' {{{droplocation|}}} | ||
{{#if: {{{details}}} | < | </div> | ||
{{#if: {{{upgradeable|}}} | < | </div> | ||
</ | {{#if: {{{details}}} | <div class="row"><div class="col-xs-12">'''Extra Details:''' {{{details}}}</div></div>}} | ||
</ | {{#if: {{{upgradeable|}}} | <div class="row"><div class="col-xs-12">'''Upgradeable:''' {{{upgradeable}}}</div></div>}} | ||
</div> | |||
</div> | |||
[[Category:{{{type}}}]] | [[Category:{{{type}}}]] | ||
[[Category:Update {{{update|Unknown}}} Loot]] | [[Category:Update {{{update|Unknown}}} Loot]] | ||
<noinclude> | <noinclude>[[Category:Template]]</noinclude> | ||
[[Category:Template]] | |||
</noinclude> |
Revision as of 14:17, 5 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 = |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]
[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]
{{{name}}}
[[:Category:{{{type}}}|{{{type}}}]]
Minimum Level: {{{minlevel}}}
{{{binding}}}
Enchantments:
Template:MaterialDR
|
|||
Binding: Unbound
|
Description: {{{description}}}
Drop Location:
[[Category:{{{type}}}]]