Template:WeaponTableRow: Difference between revisions
m (Adding classes to better support accessibility userscripts) |
m (Reinstated borders between HU/RA/FO) |
||
Line 10: | Line 10: | ||
|{{#ifeq: {{#sub:{{{class|}}}|1|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|1|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|2|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|2|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|3|1}} | 0 | style="background-color:#F4C7C3; border-right:solid 1px black"{{!}}× | style="background-color:#98FB98; border-right:solid 1px black"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|3|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3; border-right:solid 1px black"{{!}}× | class="equippable" style="background-color:#98FB98; border-right:solid 1px black"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|4|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|4|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|5|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|5|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|6|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|6|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|7|1}} | 0 | style="background-color:#F4C7C3; border-right:solid 1px black"{{!}}× | style="background-color:#98FB98; border-right:solid 1px black"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|7|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3; border-right:solid 1px black"{{!}}× | class="equippable" style="background-color:#98FB98; border-right:solid 1px black"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|8|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|8|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | ||
|{{#ifeq: {{#sub:{{{class|}}}|9|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} | |{{#ifeq: {{#sub:{{{class|}}}|9|1}} | 0 | class="notEquippable" style="background-color:#F4C7C3;"{{!}}× | class="equippable" style="background-color:#98FB98;"{{!}}○}} |
Revision as of 22:55, 13 November 2021
|- |[[{{{1}}}]] |{{{2}}}★ |{{{3}}} |{{{4}}} |{{{5}}} | |{{{6}}} |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98; border-right:solid 1px black"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98; border-right:solid 1px black"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |class="equippable" style="background-color:#98FB98;"|○ |
Usage
{{WeaponTableRow|Name|Rarity|ATP|ATA|max grind|special=special|requirement to equip|class=001000000000|notes=notes}}
The class
argument is in class order (HUmar, HUnewearl, HUcast, HUcaseal, RAmar, RAmarl, RAcast, RAcaseal, FOmar, FOmarl, FOnewm, FOnewearl), with a 1 if the class can use it and a 0 if they can't. Leave the argument blank if all classes can equip it.
The notes
argument is for things like additional stats and features unique to the weapon. Use +
for a plus sign and −
for a minus sign at the start of notes
.