Difference between revisions of "Template:Set gallery"
(Chance to manually pass the set name. Chance to define a global "alt" parameter for the images of a given gallery (useful for Duelist Leagues). Changed to use Oceanic English instead of Australian English.) |
(Pass the number first and only then the rarity. Not inputting a rarity defaults to Common, so this facilitates building big galleries.) |
||
Line 3: | Line 3: | ||
Input example for DOCS-SE: | Input example for DOCS-SE: | ||
− | Ultimaya Tzolkin; SR | + | Ultimaya Tzolkin; 1; SR |
− | Frightfur Tiger; SR | + | Frightfur Tiger; 2; SR |
− | Engraver of the Mark; SR | + | Engraver of the Mark; 3; SR |
− | Destruction Sword Flash; SR | + | Destruction Sword Flash; 4; SR |
------------- | ------------- | ||
Line 101: | Line 101: | ||
-->{{ #vardefine: $name | {{ #explode: @ROW-PART | ; | 0 }} }}<!-- | -->{{ #vardefine: $name | {{ #explode: @ROW-PART | ; | 0 }} }}<!-- | ||
− | -->{{ #vardefine: $ | + | -->{{ #vardefine: $set-index-no. | {{ #explode: @ROW-PART | ; | 1 }} }}<!-- |
− | -->{{ #vardefine: $ | + | -->{{ #vardefine: $rarity | {{r|{{ #explode: @ROW-PART | ; | 2 }}}} }}<!-- |
-->{{ #vardefine: $alt | {{ #explode: @ROW-PART | ; | 3 }} }}<!-- | -->{{ #vardefine: $alt | {{ #explode: @ROW-PART | ; | 3 }} }}<!-- | ||