Template:Card: Difference between revisions
miraheze>CodeTriangle add some tooltips |
RandomNetCat (talk | contribs) Fix TemplateData |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 8: | Line 8: | ||
| Cn | | Cn | ||
| B | | B | ||
| Cp=color: # | | Cp=color: #B08821;}}" title="{{#switch: {{{1|}}} | ||
| A=Ace | | A=Ace | ||
| T=10 | |||
| E=11 | |||
| J=Jack | | J=Jack | ||
| U=Unter Knave | | U=Unter Knave | ||
Line 36: | Line 38: | ||
| C=♣ | | C=♣ | ||
| S=♠ | | S=♠ | ||
| Sw=[[File:Suit sword.svg|12px]] | |||
| L=[[File:Suit leaf.svg|12px]] | | L=[[File:Suit leaf.svg|12px]] | ||
| A=[[File:Suit acorn.svg|12px]] | | A=[[File:Suit acorn.svg|12px]] | ||
| Sh=[[File:Suit shield.svg|12px]] | | Sh=[[File:Suit shield.svg|12px]] | ||
| R= | | R=[[File:Suit rose.svg|12px]] | ||
| Cn=[[File:Suit coin.svg|12px]] | |||
| B=[[File:Suit bell.svg|12px]] | | B=[[File:Suit bell.svg|12px]] | ||
| | | Cp=[[File:Suit cup.svg|12px]]}}</span>]</span><noinclude> | ||
<br> | <br> | ||
{{Card|A|H}}<br> | {{Card|A|H}}<br> | ||
Line 48: | Line 52: | ||
{{Card|J|S}}<br> | {{Card|J|S}}<br> | ||
{{Card|1|Sh}}<br> | {{Card|1|Sh}}<br> | ||
{{Card|13|Sw}}<br> | |||
{{Card|Q|R}}<br> | {{Card|Q|R}}<br> | ||
{{Card|K|B}}<br> | {{Card|K|B}}<br> | ||
{{Card|O|A}}<br> | {{Card|O|A}}<br> | ||
{{Card|U|Cn}}<br> | {{Card|U|Cn}}<br> | ||
{{Card|R|L}} | {{Card|R|L}}<br> | ||
{{Card|T|Cp}} | |||
<templatedata> | |||
{ | |||
"description": "This template renders an ascii-friendly, color-coded representation of a playing card.", | |||
"params": { | |||
"1": { | |||
"label": "Rank", | |||
"type": "string", | |||
"required": true, | |||
"description": "The Rank of the card. 2-10, J, Q, K, A.", | |||
"aliases": ["Rank"] | |||
}, | |||
"2": { | |||
"label": "Suit", | |||
"type": "string", | |||
"required": true, | |||
"description": "The Suit of the card. D, C, H, or S.", | |||
"aliases": ["Suit"] | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |