Template:Card16: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="white-space:nowrap;{{#switch: {{{2|}}} | <span style="white-space:nowrap;{{#switch: {{{2|}}} | ||
| H | |H|D|R=color: #DD0000; | ||
|L|A|Sh=color: #119933; | |||
|Cn|B|Cp=color: #B08821;}} | |||
| L | {{#switch: {{{3|}}} | ||
|Holo=font-style:italic;}}" | |||
title="{{#switch: {{{1|}}} | |||
| Cn | |||
| A=Ace | | A=Ace | ||
| T=10 | | T=10 | ||
Line 33: | Line 30: | ||
| S=Spades | | S=Spades | ||
| Sw=Swords | | Sw=Swords | ||
| {{{2|}} | | {{{2|}}}}}">[<span style="min-width:1.2em; text-align:center; display: inline-block">{{{1|}}}</span><span style="min-width:1em; text-align:center; display: inline-block">{{#switch: {{{2|}}} | ||
| H=♥ | |H=♥|D=♦|C=♣|S=♠ | ||
| Sw=[[File:Suit sword.svg|12px]] | | Sw=[[File:Suit sword.svg|12px]] | ||
| L=[[File:Suit leaf.svg|12px]] | | L=[[File:Suit leaf.svg|12px]] | ||
Line 45: | Line 39: | ||
| Cn=[[File:Suit coin.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> | | Cp=[[File:Suit cup.svg|12px]]}}</span>]</span><noinclude> | ||
<noinclude> | |||
<br> | <br> | ||
{{Card16|A|H| | {{Card16|A|H|Holo}}<br> | ||
{{Card16|5|D| | {{Card16|5|D|Holo}}<br> | ||
{{Card16|10|C| | {{Card16|10|C| }}<br> | ||
{{Card16|J|S| | {{Card16|J|S| }}<br> | ||
{{Card16|1|Sh| | {{Card16|1|Sh| }}<br> | ||
{{Card16|13|Sw| | {{Card16|13|Sw| }}<br> | ||
{{Card16|Q|R| | {{Card16|Q|R| }}<br> | ||
{{Card16|K|B| }}<br> | {{Card16|K|B| }}<br> | ||
{{Card16|O|A| }}<br> | {{Card16|O|A| }}<br> | ||
{{Card16|U|Cn|}}<br> | {{Card16|U|Cn| }}<br> | ||
{{Card16|R|L|}}<br> | {{Card16|R|L| }}<br> | ||
{{Card16|T|Cp|}} | {{Card16|T|Cp| }} | ||
Line 69: | Line 63: | ||
"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.", | ||
"example": "2-10, J, Q, K, A.", | |||
"aliases": ["Rank"] | "aliases": ["Rank"] | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "Suit", | "label": "Suit", | ||
"required": true, | "required": true, | ||
" | "example":"D, C, H, or S", | ||
"description": "The Suit of the card.", | |||
"aliases": ["Suit"] | "aliases": ["Suit"] | ||
}, | }, | ||
"3": { | "3": { | ||
"label": "Modifiers", | "label": "Modifiers", | ||
"required": false, | "required": false, | ||
"example":"Holo, [empty]", | |||
"description": "Modifiers on the card.", | "description": "Modifiers on the card.", | ||
"aliases": ["Mod"] | "aliases": ["Mod"] | ||
} | } | ||
} | }} | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 20:05, 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.
| Unknown | required |
Suit | 2 Suit | The Suit of the card.
| Unknown | required |
Modifiers | 3 Mod | Modifiers on the card.
| Unknown | optional |