Difference between revisions of "Template:Set gallery"

From Yugipedia
Jump to: navigation, search
(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; 1
+
Ultimaya Tzolkin; 1; SR
Frightfur Tiger; SR; 2
+
Frightfur Tiger; 2; SR
Engraver of the Mark; SR; 3
+
Engraver of the Mark; 3; SR
Destruction Sword Flash; SR; 4
+
Destruction Sword Flash; 4; SR
  
 
-------------
 
-------------
Line 101: Line 101:
  
 
-->{{ #vardefine: $name            | {{ #explode: @ROW-PART | ; | 0 }} }}<!--
 
-->{{ #vardefine: $name            | {{ #explode: @ROW-PART | ; | 0 }} }}<!--
-->{{ #vardefine: $rarity          | {{r|{{ #explode: @ROW-PART | ; | 1 }}}} }}<!--
+
-->{{ #vardefine: $set-index-no.  | {{ #explode: @ROW-PART | ; | 1 }} }}<!--
-->{{ #vardefine: $set-index-no.  | {{ #explode: @ROW-PART | ; | 2 }} }}<!--
+
-->{{ #vardefine: $rarity          | {{r|{{ #explode: @ROW-PART | ; | 2 }}}} }}<!--
 
-->{{ #vardefine: $alt            | {{ #explode: @ROW-PART | ; | 3 }} }}<!--
 
-->{{ #vardefine: $alt            | {{ #explode: @ROW-PART | ; | 3 }} }}<!--
  

Revision as of 20:54, 28 September 2016