Template:Card list/doc
< Template:Card list
Revision as of 18:26, 5 April 2023 by Dinoguy1000 (talk | contribs) (recreate from the Internet Archive)
This is a documentation subpage for Template:Card list. It may contain usage information, categories and other content that is not part of the original template page. |
{{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
{{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
, ortrap
; defaults tomonster
(except for headers, where it defaults tocards
). 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