Template:Set list

From Yugipedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

This template is meant to be used to generate set lists.

Usage[edit]

{{Set list|region=|set=|abbr=|rarity=|qty=|col=|

}}

To use to build lists that have multiple headers, one transclusion per header section should be used.

Parameters[edit]

region
Required parameter on the first transclusion. Used to pass a region index (e.g., EN, NA, AE, etc.).
set
Optional parameter. Used to pass a set name.
abbr
Optional parameter. Used to pass a set abbreviation code. If set to no, none, off, false or 0, the card number column is not displayed.
rarity
Optional parameter. Used to pass the rarities of the card. Each rarity should be separated by a ,.
qty
Optional parameter. Used to pass a quantity value each card entry. This value would apply to all the entries, unless a specific value is passed for the individual entry, or unless the value entered is not numerical, in which case it will default to 1.
col
Optional parameter. Used to generate a new column. The column header text is the value passed.

Building a row[edit]

Each entry goes in one row.
Rows are composed of card number; card name; rarity; qty; // options. For cards that don't have a card number, it should be left blank. For sets that do not have a set index, the first value should be the card name and abbr should be disabled.
The options part is optional and is separated by inserting // and then the options keys. These are:

name::<value>
Overrides the card name with whatever value is entered here.
name-local::<value>
Overrides the localized card name with whatever value is entered here.
rarity::<value>
Overrides the rarity values cell with whatever value is entered here.
category::<value>
Overrides the category cell with whatever value is entered here.
description::<value>
Adds a description next to the English name.

If col was used, using the lower cased value entered there followed by :: and a value, will populate the cell from that extra column with the value entered here.

Building a section[edit]

Sections can be assembled. They should be separated by headers.
Sections are generated by entering !: at the beginning of the line, preceding the following options, each separated by ;:

header::<value>
Adds a header. The header text is whatever value entered here. Must be entered!
abbr::<value>
If set to no, none, off, false or 0, the card number column is not displayed in this section
rarity::<value>
Defines a rarity for all entries in this group, unless a particular one was entered.
qty::<value>
Defines a quantity value for all the entries in this group, unless a particular one was entered.

Examples[edit]

Tracking categories[edit]

See also[edit]