Template:Card: Difference between revisions
Appearance
Try to add templatedata documentation |
RandomNetCat (talk | contribs) Fix TemplateData |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 64: | Line 64: | ||
"description": "This template renders an ascii-friendly, color-coded representation of a playing card.", | "description": "This template renders an ascii-friendly, color-coded representation of a playing card.", | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Rank", | "label": "Rank", | ||
"type": "string", | |||
"required": true, | "required": true, | ||
"description": "The Rank of the card. 2-10, J, Q, K, A.", | "description": "The Rank of the card. 2-10, J, Q, K, A.", | ||
"aliases": [" | "aliases": ["Rank"] | ||
}, | }, | ||
"2": { | |||
" | |||
"label": "Suit", | "label": "Suit", | ||
"type": "string", | |||
"required": true, | "required": true, | ||
"description": "The Suit of the card. D, C, H, or S.", | "description": "The Suit of the card. D, C, H, or S.", | ||
"aliases": [" | "aliases": ["Suit"] | ||
} | } | ||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:47, 9 July 2024
[]
[A♥]
[5♦]
[10♣]
[J♠]
[1
]
[13
]
[Q
]
[K
]
[O
]
[U
]
[R
]
[T
]
This template renders an ascii-friendly, color-coded representation of a playing card.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Rank | 1 Rank | The Rank of the card. 2-10, J, Q, K, A. | String | required |
| Suit | 2 Suit | The Suit of the card. D, C, H, or S. | String | required |