Template:Card: Difference between revisions

Try to add templatedata documentation
mNo edit summary
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": {
         "Rank": {
         "2": {
             "label": "Rank",
             "label": "Rank",
             "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": ["1"]
             "aliases": ["Rank"]
         },
         },
     "params": {
     "params": {
         "Suit": {
         "1": {
             "label": "Suit",
             "label": "Suit",
             "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": ["1"]
             "aliases": ["Suit"]
         },
         },
}
}