Template:WeaponsTableRow: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Undo revision 107651 by HiddenDragon (talk)) Tag: Undo |
("Legacy Content" -> "Legacy content") |
||
(19 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]]. | <includeonly><tr> | ||
<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}}} }}]] | |||
</td> | |||
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</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;">{{#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;"> | |||
{{{weight kg}}}{{nbts}}kg | |||
<br> | |||
{{{weight lb}}}{{nbts}}lb | |||
</td> | |||
<td style="text-align: center; vertical-align: middle;">{{{price}}}</td> | |||
<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}}} | |||
}}{{#if: {{{special weapon actions|}}} | {{blank}} | |||
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | |||
}}{{#if: {{{legacy|}}} | {{blank}} | |||
* {{Legacy content/notice|{{{legacy}}} }} | |||
}} | |||
</td> | |||
</tr></includeonly><noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]]. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
Sample: | Sample: | ||
Line 5: | Line 50: | ||
{{WeaponsTableHeader}} | {{WeaponsTableHeader}} | ||
{{WeaponsTableRow | {{WeaponsTableRow | ||
| name = Example | | 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 | | rarity = uncommon | ||
| enchantment = +1 | | enchantment = +1 | ||
Line 19: | Line 83: | ||
* Super cool special feature. | * Super cool special feature. | ||
}}{{WeaponsTableRow | }}{{WeaponsTableRow | ||
| name = | | page = Sword of the Emperor | ||
| | | name = Example Sword | ||
| icon = Longsword +1 Unfaded Icon.png | |||
| rarity = uncommon | | rarity = uncommon | ||
| enchantment = +1 | | enchantment = +1 | ||
| damage = 1d8 | | damage = 1d8 | ||
| damage type = Slashing | | damage type = Slashing | ||
| weight kg = 18 | | weight kg = 18 | ||
| weight lb = 36 | | weight lb = 36 | ||
Line 34: | Line 97: | ||
| legacy = inaccessible | | legacy = inaccessible | ||
}} | }} | ||
{{WeaponsTableFooter}}</noinclude | {{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 |
|