Template:Card list/doc

From Yugipedia
Jump to: navigation, search

{{Card list}} is a metatemplate used for creating lists of cards. Normally one of the more specific templates in Category:Card list templates should be used on articles, instead of this template.

Usage[edit]

{{Card list
| type           = 
| mediums        = 
| header_pattern = 
| query_type     = 
| query          = 
| intro          = 
| navboxes       = 
| categories     = 
| empty_category = 
}}
type
The card type the list is for.
Can be monster, spell, or trap; defaults to monster (except for headers, where it defaults to cards).
mediums
The mediums the list should include.
Can use any values accepted by {{Card query}}; defaults to official, Rush Duel, anime, manga, Duel Links.
header_pattern
The format that the section headers should use.
By default, the medium is included at the beginning of the header, and the list type is included at the end.
If the list type should appear elsewhere in the header, use $type in the location it should appear. If the list type should not appear at all, use $notype.
If the medium should be included somewhere other than the beginning of the headers, use $medium at the location it should appear.
query_type
Used to ensure automatic section detection queries the correct pages.
query
The query fragment which is unique to the list, needed to query for the actual card lists.
intro
The introductory text for the list. If {{SMW notice}} support is included, place it here.
navboxes
Any navboxes to display at the bottom of the page.
categories
Any categories that the list should be included in.
empty_category
The name of the category that empty lists will get added to. Defaults to Category:Empty card lists.

See also[edit]