Template:WeaponTableRow: Difference between revisions

From Ephinea PSO Wiki
(test 1.7)
(test 1.8? lost track lul)
Line 1: Line 1:
|-
|-
|{{#switch: {{{2}}}
|{{#switch: {{{2}}}
  | {{#if: {{{special|}}} {{=}} Varies | {{Sword|es|{{{1}}}}} | 2}}
  | {{#if: {{{1}}}{{=}}ES | {{Sword|es|{{{1}}}}} | 2}}
  | {{#ifexpr: ({{{2}}} < 9) | {{Sword|{{{1}}}}} | {{Sword|rare|{{{1}}}}}}}
  | {{#ifexpr: ({{{2}}} < 9) | {{Sword|{{{1}}}}} | {{Sword|rare|{{{1}}}}}}}
}}
}}

Revision as of 23:13, 26 January 2024

|- |Expression error: Unrecognized punctuation character "{". |{{{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 &#43; for a plus sign and &minus; for a minus sign at the start of notes.