Template:WeaponsTableRow: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
("Legacy Content" -> "Legacy content") |
||
(23 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tr> | |||
<td style="text-align: center; vertical-align: middle;"> | <td style="text-align: center; vertical-align: middle;"> | ||
{{ | {{ItemIcon Internal | ||
|{{{icon}}} | |||
|50 | |||
|{{#replace:{{{rarity}}}|<nowiki> </nowiki>|-}} | |||
|true | |||
|{{{page}}} | |||
|missing=true}}<br> | |||
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]] | [[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]] | ||
</td> | </td> | ||
Line 28: | Line 14: | ||
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td> | <td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td> | ||
<td style="text-align: center; vertical-align: middle;">{{{damage}}}</td> | <td style="text-align: center; vertical-align: middle;">{{{damage}}}{{#if: {{{extra damage|}}} | <br/>{{{extra damage|}}} | }}{{#if: {{{extra damage 2|}}} | <br/>{{{extra damage 2|}}} | }}</td> | ||
<td style="text-align: center; vertical-align: middle;">{{{damage type|}}}</ | <td style="text-align: center; vertical-align: middle;">{{#if: {{{damage type|}}} | {{DamageColor|{{{damage type|}}}}} | }}{{#if: {{{extra damage type|}}} | <br/>{{DamageColor|{{{extra damage type|}}}}} | }}{{#if: {{{extra damage 2 type|}}} | <br/>{{DamageColor|{{{extra damage 2 type|}}}}} | }}</td> | ||
<td style="text-align: center; vertical-align: middle;"> | <td style="text-align: center; vertical-align: middle;"> | ||
Line 45: | Line 27: | ||
<td style="vertical-align: middle;"> | <td style="vertical-align: middle;"> | ||
{{#if: {{{passives|}}} | | |||
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} | |||
}}{{#if: {{{passives main hand|}}} | {{blank}} | |||
Main Hand Only | |||
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }} | |||
}}{{#if: {{{passives off hand|}}} | {{blank}} | |||
Off-Hand Only | |||
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }} | |||
}}{{#if: {{{special|}}} | {{blank}} | |||
{{{special}}} | {{{special}}} | ||
}}{{#if: {{{special weapon actions|}}} | {{blank}} | |||
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | |||
}}{{#if: {{{legacy|}}} | {{blank}} | |||
* {{Legacy content/notice|{{{legacy}}} }} | |||
}} | |||
</td> | </td> | ||
</tr></includeonly> | </tr></includeonly><noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]]. | ||
[[Category:Templates]] | |||
Sample: | |||
{{WeaponsTableHeader}} | |||
{{WeaponsTableRow | |||
| page = Blightbringer | |||
| name = Example Bow #1 | |||
| icon = Shortbow PlusOne Unfaded Icon.png | |||
| rarity = very rare | |||
| enchantment = +2 | |||
| damage = 1d8 + 2 | |||
| damage type = Slashing | |||
| extra damage = 1d4 | |||
| extra damage type = Fire | |||
| extra damage 2= 1d4 | |||
| extra damage 2 type = Cold | |||
| weight kg = 18 | |||
| weight lb = 36 | |||
| price = 400 | |||
| passives = Chilling Counter | |||
| special = | |||
* Super cool special feature. | |||
}}{{WeaponsTableRow | |||
| page = Blightbringer | |||
| name = Example Bow #2 | |||
| icon = Shortbow PlusOne Unfaded Icon.png | |||
| rarity = uncommon | |||
| enchantment = +1 | |||
| damage = 1d8 | |||
| damage type = Slashing | |||
| extra damage = 1d8 | |||
| extra damage type = Fire | |||
| weight kg = 18 | |||
| weight lb = 36 | |||
| price = 400 | |||
| special = | |||
* Super cool special feature. | |||
}}{{WeaponsTableRow | |||
| page = Sword of the Emperor | |||
| name = Example Sword | |||
| icon = Longsword +1 Unfaded Icon.png | |||
| rarity = uncommon | |||
| enchantment = +1 | |||
| damage = 1d8 | |||
| damage type = Slashing | |||
| weight kg = 18 | |||
| weight lb = 36 | |||
| price = 400 | |||
| special = | |||
* Super cool special feature. | |||
| legacy = inaccessible | |||
}} | |||
{{WeaponsTableFooter}}</noinclude> |
Latest revision as of 23:43, 9 June 2024
For use with Cargo queries; see Template:WeaponTypePage. Sample:
Weapon | Enchant. | Damage | Damage Type | Weight | Price | Special |
---|---|---|---|---|---|---|
+2 | 1d8 + 2 1d4 1d4 |
Slashing Fire Cold |
18 kg
|
400 |
|
|
+1 | 1d8 1d8 |
Slashing Fire |
18 kg
|
400 |
|
|
+1 | 1d8 | Slashing |
18 kg
|
400 |
|