Difference between revisions of "Template:Weapon"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 37: | Line 37: | ||
</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|]] | |||
</td> | |||
<td class="title"> | |||
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]] | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
{{{proficiency}}} Weapon Proficiency<br> | |||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | |||
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | |||
'''Base Damage:''' {{{basedamagerating}}}<br> | |||
'''Damage:''' {{{damage}}}<br> | |||
'''Damage Types:''' {{{damagetype}}}<br> | |||
'''Critical Profile:''' {{#if: {{{critprofile|}}}|{{{critprofile}}}|N/A}}<br> | |||
'''Attack:''' {{#if: {{{attackmod|}}}|{{{attackmod}}}|N/A}}<br> | |||
'''Damage:''' {{#if: {{{damagemod|}}}|{{{damagemod}}}|N/A}}<br> | |||
'''Enchantments:''' | |||
{{{enchantments|}}}{{MaterialDR|{{{material}}}}} | |||
{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}} | |||
<br> | |||
<br> | |||
'''Description:''' ''{{{description}}} '' | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td class="item-image-side" style="vertical-align:top"> | |||
<table class="item-image background-color" > | |||
{{#switch: {{{type}}} | |||
| 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 class="extra-details"> | |||
{{#if: {{{droplocation|}}} | '''Drop Location:''' {{{droplocation}}}<br>}} | |||
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}} | |||
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}} | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table class="plainlinks" style="width: 100%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px"> | <table class="plainlinks" style="width: 100%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px"> | ||
<tr><th rowspan="2" style="width: 50%; vertical-align: top; border: 1px solid #B0B5B8; padding: 15px"> | <tr><th rowspan="2" style="width: 50%; vertical-align: top; border: 1px solid #B0B5B8; padding: 15px"> |
Revision as of 17:46, 9 May 2018
How To Use This Template[edit]
All weapons on this wiki should start with a blank page containing the following:
{{Template:Weapon |
|name = |
|type = |
|proficiency = |
|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) |
|basedamagerating = |
|damage = use template:Dice |
|damagetype = use comma separated template:DamageType |
|critprofile = |
|attackmod = |
|damagemod = |
|enchantments = |
* Lead each new line of Enchantments with an Asterisk |
|material = (Just put type, will auto link) |
|hardness = |
|durability = |
|description = |
|update = |
|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) |
|details = |
|restriction = use template:restrictedtrait |
|upgradeable = |
}} |
Fill in the information, using a completed weapon - such as Riftmaker - for an example. When you preview or save the page, it will format itself!
The Template[edit]
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Drop Location:
Extra Details: {{{details}}} |
[[Category:{{{type}}}]] [[Category:Minimum Level {{{minlevel}}} Items]]