Template:Card16: Difference between revisions

From Infinite Nomic Wiki
Trungle (talk | contribs)
add modifiers to tooltip
4st (talk | contribs)
No edit summary
Line 17: Line 17:
  | Q=Queen
  | Q=Queen
  | K=King
  | K=King
| Joker=🃏
  | {{{1|}}}}} of {{#switch: {{{2|}}}
  | {{{1|}}}}} of {{#switch: {{{2|}}}
  | H=Hearts
  | H=Hearts
Line 30: Line 31:
  | S=Spades
  | S=Spades
  | Sw=Swords
  | Sw=Swords
  | {{{2|}}}}} {{#if: {{{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|}}}
  | {{{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=♠
  |H=♥|D=♦|C=♣|S=♠
  | Sw=[[File:Suit sword.svg|12px]]
  | Sw=[[File:Suit sword.svg|12px]]
Line 53: Line 54:
{{Card16|U|Cn| }}<br>
{{Card16|U|Cn| }}<br>
{{Card16|R|L| }}<br>
{{Card16|R|L| }}<br>
{{Card16|T|Cp| }}
{{Card16|T|Cp| }}<br>
{{Card16|Joker|Cp|Holo}}




Line 64: Line 66:
             "required": true,
             "required": true,
             "description": "The Rank of the card.",
             "description": "The Rank of the card.",
             "example": "2-10, J, Q, K, A.",
             "example": "2-10, J, Q, K, A, or Joker",
             "aliases": ["Rank"]
             "aliases": ["Rank"]
         },
         },

Revision as of 03:13, 10 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, or Joker
Unknownrequired
Suit2 Suit

The Suit of the card.

Example
D, C, H, or S
Unknownrequired
Modifiers3 Mod

Modifiers on the card.

Example
Holo, [empty]
Unknownoptional