Editing Template:Weapon Stats Table/Melee
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly><!-- | + | <includeonly><div><li style="display: inline-table;"><!-- |
--><!-- VARIABLES --><!-- | --><!-- VARIABLES --><!-- | ||
-->{{#vardefine:name | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon | -->{{#vardefine:name | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon | ||
Line 7: | Line 7: | ||
--> | --> | ||
<!-- CONTROL PANEL --> | <!-- CONTROL PANEL --> | ||
− | {| | + | {| class="wikitable" |
+ | |+ <!--Select which features you'd like to compare--> | ||
+ | |- | ||
! Feature !! Toggle | ! Feature !! Toggle | ||
|- | |- | ||
Line 25: | Line 27: | ||
|} | |} | ||
<!-- MAIN TABLE --> | <!-- MAIN TABLE --> | ||
− | |||
{| {{STDT|sortable c_03 text-center}} | {| {{STDT|sortable c_03 text-center}} | ||
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ||
Line 36: | Line 37: | ||
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th> | <th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th> | ||
}} }} }} | }} }} }} | ||
− | ! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: | + | ! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 1 Part}} }} ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]]) |
− | + | ! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 2 Part}} }} ([[Damage types#{{Q|Human|Attack 2 Type}}|{{Q|Human|Attack 2 Type}}]]) | |
+ | ! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 3 Part}} }} ([[Damage types#{{Q|Human|Attack 3 Type}}|{{Q|Human|Attack 3 Type}}]]) | ||
+ | ! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 4 Part}} }} ([[Damage types#{{Q|Human|Attack 4 Type}}|{{Q|Human|Attack 4 Type}}]]) | ||
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}} | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}} | ||
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value | ||
− | + | |- | |
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!-- | {{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!-- | ||
-->{{#if: {{#var:stufftags}} | | -->{{#if: {{#var:stufftags}} | | ||
Line 55: | Line 58: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!-- | -->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!-- | ||
-->{{#var:attackHeaders}} | -->{{#var:attackHeaders}} | ||
− | < | + | {{#var:attackHeaders}} |
− | {{#if:{{#var:hasQuality}} | | + | {{#var:attackHeaders}} |
+ | {{#var:attackHeaders}}<!-- | ||
+ | -->{{#if:{{#var:hasQuality}} | | ||
{{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}} | {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 72: | Line 76: | ||
{{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}} | {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 85: | Line 88: | ||
}} | }} | ||
{{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}} | {{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}} | ||
− | {{#if:{{#var:stufftags}} | + | {{#if:{{#var:stufftags}} | |
− | + | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} | |
− | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] | |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 101: | Line 103: | ||
{{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}} | {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 114: | Line 115: | ||
{{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}} | {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 127: | Line 127: | ||
{{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}} | {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row | ||
Line 140: | Line 139: | ||
{{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}} | {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}} | ||
{{#if: {{#var:stufftags}} | {{#if: {{#var:stufftags}} | ||
− | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} | + | | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}} || [[Stuff Category::Fabric]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}} || [[Stuff Category::Woody]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}} || [[Stuff Category::Stony]] OR}} |
− | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} | + | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]] |
− | |||
| format = template | | format = template | ||
| template = Weapon Stats Table/Melee/Row | | template = Weapon Stats Table/Melee/Row |