Template:Card16: Difference between revisions

From Infinite Nomic Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span style="white-space:nowrap;{{#switch: {{{2|}}}
<span style="white-space:nowrap;{{#switch: {{{2|}}}
  | H
  |H|D|R|Red=color: #DD0000;
| D
  |L|A|Sh|CC=color: #119933;
| R=color: #DD0000;
  |Cn|B|Cp=color: #B08821;
  | L
|WBB=color: #DCDCDC}}
| A
{{#switch: {{{3|}}}
| Sh=color: #119933;
|Holo=font-style:italic;
  | Cn
|Torn=font-style:bold;}}"
| B
title="{{#switch: {{{1|}}}
| Cp=color: #B08821;}}" title="{{{3|}}}{{#switch: {{{1|}}}
  | A=Ace
  | A=Ace
  | T=10
  | T=10
Line 33: Line 32:
  | S=Spades
  | S=Spades
  | Sw=Swords
  | Sw=Swords
  | {{{2|}}}}}{{{3|}}}">[{{{3|}}}<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|}}}
| CC=Credit Card
  | H=♥
| GTJ=Go to jail monopoly card
| D=♦
  | {{{2|}}}}} {{#if: {{{3|}}}|({{{3|}}})|}}">[<span style="min-width:1.2em; text-align:center; display: inline-block">{{#switch: {{{1|}}}  | Joker=🂿 | {{{1|}}}}}</span><span style="min-width:1em; text-align:center; display: inline-block">{{#switch: {{{2|}}}
| C=♣
  |H=♥|D=♦|C=♣|S=♠|Black=🂿|Red=🂿|
| 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 43:
  | 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>{{{3|}}}]</span>
  | Cp=[[File:Suit cup.svg|12px]]}}</span>]</span><noinclude>
<noinclude>
 
<br>
<br>
{{Card16|A|H|_}}<br>
{{Card16|A|H|Holo}}<br>
{{Card16|5|D|:}}<br>
{{Card16|5|D|Holo}}<br>
{{Card16|10|C|*}}<br>
{{Card16|10|C| }}<br>
{{Card16|J|S|!}}<br>
{{Card16|J|S| }}<br>
{{Card16|1|Sh|-}}<br>
{{Card16|1|Sh| }}<br>
{{Card16|13|Sw|#}}<br>
{{Card16|13|Sw| }}<br>
{{Card16|Q|R|$}}<br>
{{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| }}<br>
</noinclude>
{{Card16|Joker|Black|Holo}}<br>
{{Card16|Joker|Red|}}
 
 
<templatedata>
<templatedata>
{
{
    "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 Cycle 16 card.",
    "params": {
"params": {
        "1": {
"1": {
            "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.",
            "aliases": ["Rank"]
"example": "2-10, J, Q, K, A, Joker, CC, GTJ",
        },
"aliases": [
    "params": {
"Rank"
        "2": {
]
            "label": "Suit",
},
            "required": true,
"2": {
            "description": "The Suit of the card. D, C, H, or S.",
"label": "Suit",
            "aliases": ["Suit"]
"required": true,
        },
"example": "D, C, H, or S, Black, Red, Green, WBB",
    "params": {
"description": "The Suit of the card.",
        "3": {
"aliases": [
            "label": "Modifiers",
"Suit"
            "required": false,
]
            "description": "Modifiers on the card.",
},
            "aliases": ["Mod"]
"3": {
        },
"label": "Modifiers",
"required": false,
"example": "Holo, Torn, [empty]",
"description": "Modifiers on the card.",
"aliases": [
"Mod"
]
}
}
}
}
</templatedata>
</templatedata>
</noinclude>

Latest revision as of 00:28, 19 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 Cycle 16 card.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Rank1 Rank

The Rank of the card.

Example
2-10, J, Q, K, A, Joker, CC, GTJ
Unknownrequired
Suit2 Suit

The Suit of the card.

Example
D, C, H, or S, Black, Red, Green, WBB
Unknownrequired
Modifiers3 Mod

Modifiers on the card.

Example
Holo, Torn, [empty]
Unknownoptional