Template:Card: Difference between revisions

m 24 revisions imported: Import Miraheze archive 2022-10-29
Try to add templatedata documentation
Line 59: Line 59:
{{Card|R|L}}<br>
{{Card|R|L}}<br>
{{Card|T|Cp}}
{{Card|T|Cp}}
<templatedata>
{
    "description": "This template renders an ascii-friendly, color-coded representation of a playing card.",
    "params": {
        "Rank": {
            "label": "Rank",
            "required": true,
            "description": "The Rank of the card. 2-10, J, Q, K, A.",
            "aliases": ["1"]
        },
    "params": {
        "Suit": {
            "label": "Suit",
            "required": true,
            "description": "The Suit of the card. D, C, H, or S.",
            "aliases": ["1"]
        },
}
</templatedata>
</noinclude>
</noinclude>