Template:Card16: Difference between revisions

From Infinite Nomic Wiki
4st (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span style="white-space:nowrap;{{#switch: {{{2|}}}
<span style="white-space:nowrap;{{#switch: {{{2|}}}
  |H|D|R|Red=color: #DD0000;
  |H|D|R|Red=color: #DD0000;
  |L|A|Sh=color: #119933;
  |L|A|Sh|CC=color: #119933;
  |Cn|B|Cp=color: #B08821;}}
  |Cn|B|Cp=color: #B08821;
|WBB=color: #DCDCDC}}
{{#switch: {{{3|}}}
{{#switch: {{{3|}}}
  |Holo=font-style:italic;}}"
  |Holo=font-style:italic;
|Torn=font-style:bold;}}"
title="{{#switch: {{{1|}}}
title="{{#switch: {{{1|}}}
  | A=Ace
  | A=Ace
Line 30: Line 32:
  | S=Spades
  | S=Spades
  | Sw=Swords
  | Sw=Swords
| CC=Credit Card
| GTJ=Go to jail monopoly card
  | {{{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|}}}
  | {{{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|}}}
  |H=♥|D=♦|C=♣|S=♠|Black=🂿|Red=🂿|
  |H=♥|D=♦|C=♣|S=♠|Black=🂿|Red=🂿|
Line 60: Line 64:
<templatedata>
<templatedata>
{
{
    "description": "This template renders an ascii-friendly, color-coded representation of a Cycle 16 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.",
"description": "The Rank of the card.",
            "example": "2-10, J, Q, K, A, or Joker",
"example": "2-10, J, Q, K, A, Joker, CC, GTJ",
            "aliases": ["Rank"]
"aliases": [
        },
"Rank"
        "2": {
]
            "label": "Suit",
},
            "required": true,
"2": {
            "example":"D, C, H, or S, Black, Red",
"label": "Suit",
            "description": "The Suit of the card.",
"required": true,
            "aliases": ["Suit"]
"example": "D, C, H, or S, Black, Red, Green, WBB",
        },
"description": "The Suit of the card.",
        "3": {
"aliases": [
            "label": "Modifiers",
"Suit"
            "required": false,
]
            "example":"Holo, [empty]",
},
            "description": "Modifiers on the card.",
"3": {
            "aliases": ["Mod"]
"label": "Modifiers",
        }
"required": false,
}}
"example": "Holo, Torn, [empty]",
"description": "Modifiers on the card.",
"aliases": [
"Mod"
]
}
}
}
</templatedata>
</templatedata>
</noinclude>
</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