User:Kamikaze king/sandbox/cardlist-template-row/doc
This is a documentation subpage for User:Kamikaze king/sandbox/cardlist-template-row. It contains usage information, categories and other content that is not part of the original user template page. |
Contents
Usage[edit]
Parameters[edit]
Display parameters[edit]
- empty-rows
- If a given row has no cards, it is automatically hidden from the final list. Note that specifying that you have no copies of a given card will still cause the row to display, since the template only checks if the quantity parameters are defined.
- set-col
- If set-col is set to hide, the column for set number will be omitted from the returned row, even if a set number is provided.
- u-1-cols
- If this is defined, the template will return three columns, one for unlimited edition cards, one for first edition cards, and a total column. Note that using m-s-cols with this parameter will result in two additional columns, explained below.
- m-s-cols
- If this is defined, the template will return three columns, one for cards that use "magic" in their text, one for cards that use "spell" in their text, and a total column. Note that using u-1-cols with this parameter will result in two additional columns, explained above.
Card info parameters[edit]
- set-num
- This is the set number of the card, in the format XXXX-LC999 (where XXXX is the 2, 3, or 4-letter set identifier, LC is the region code (for instance, EN or J), and 999 is the 3-digit number).
- name
- This is the name of the card. Note that it automatically links, so be sure that the name provided is correctly spelled, capitalised, punctuated, etc.
Card quantity parameters[edit]
Any or all of these parameters can be omitted for a default of zero cards.
- t
- This parameter is only used if neither m-s-cols nor u-1-cols are defined. It specifies the number of copies of the card that you own.
- t1
- This parameter is only used if m-s-cols is defined. If only m-s-cols is defined, this parameter specifies the number of copies of the card you own that use the word "magic" in their text instead of "spell". If u-1-cols is also defined, this parameter specifies the number of copies of the card you own that are unlimited edition and use the word "magic".
- t2
- This parameter is only used if u-1-cols is defined. If only u-1-cols is defined, this parameter specifies the number of copies of the card you own that are unlimited edition. If m-s-cols is also defined, this parameter specifies the number of copies of the card you own that use the word "magic" in their text instead of "spell" and are unlimited edition.
- t3
- This parameter is only used if u-1-cols is defined. If only u-1-cols is defined, this parameter specifies the number of copies of the card you own that are first edition. If m-s-cols is also defined, this parameter specifies the number of copies of the card you own that use the word "spell" in their text instead of "magic" and are first edition.
- t4
- This parameter is only used if m-s-cols is defined. If only m-s-cols is defined, this parameter specifies the number of copies of the card you own that use the word "spell" in their text instead of "magic". If u-1-cols is also defined, this parameter specifies the number of copies of the card you own that are first edition and use the word "spell".