Template:WeaponTableRow: Difference between revisions
(test 2.0) |
(test 2.1) |
||
Line 2: | Line 2: | ||
|{{#switch: {{{2}}} | |{{#switch: {{{2}}} | ||
| {{#ifexpr: ({{{2}}} < 9) | {{Sword|{{{1}}}}} | {{Sword|rare|{{{1}}}}}}} | | {{#ifexpr: ({{{2}}} < 9) | {{Sword|{{{1}}}}} | {{Sword|rare|{{{1}}}}}}} | ||
| {{#if: {{{1}}}{{=}}"ES" | {{Sword|es|{{{1}}}}} | | | {{#if: {{{1}}}{{=}}"ES" | {{Sword|es|{{{1}}}}} | }} | ||
}} | }} | ||
|{{{2}}}★ | |{{{2}}}★ |
Revision as of 23:17, 26 January 2024
|- |[[{{{1}}}|{{{1}}}]] |{{{2}}}★ |{{{3}}} |{{{4}}} |{{{5}}} | |{{{6}}} |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; border-right:solid 1px black; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; border-right:solid 1px black; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |class="equippable" style="background-color:#98FB98; color:black;"|○ |
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
.