This is a documentation for Board Game Arena: play board games online !

Template:HCard: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
m ({{{1|1}}})
mNo edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:inline-grid;grid:17px 4px calc(1px*{{{size|40}}}*{{{numberScale|0.8}}}) calc(1px*{{{size|40}}}*{{{symbolScale|0.5}}} + 4px)/calc(1px*{{{size|40}}}*{{{numberScale|0.8}}}*(1 - 0.15));width:min-content;"><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|black}}};background-color:lightgrey;display:{{{showClueNumber|none}}};"></div><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|black}}};background-color:{{{clueColour|}}};display:{{{showClueColour|none}}};"></div><div style="grid-area:1/1/2/1;display:{{{showClueNumber|none}}};place-self:center start;padding:0 3px;line-height:normal;font-family:Roboto,Arial,sans-serif;font-weight:500;font-size:16px;color:{{{clueTextColour|black}}};">{{{1|1}}}</div><div style="grid-area:1/1/2/1;display:{{{showClueColour|none}}};place-self:center end;padding:0 2px;line-height:normal;">{{gameIcon|imageFileName=Hanabi_numbers_icons_280.png|scale={{{clueSymbolScale|0.35}}}|width={{{size|40}}}*{{{clueSymbolScale|0.35}}}|height={{{size|40}}}*{{{clueSymbolScale|0.35}}}|x={{{size|40}}}*{{{clueSymbolScale|0.35}}}*(5 + {{{clueDarkSymbol|0}}})|y={{{size|40}}}*{{{clueSymbolScale|0.35}}}*{{{y|0}}}}}</div><div alt="{{{colourName|}}} {{{1|1}}}" style="grid-area:2/1/4/1;display:grid;place-items:center;background-color:#2F2342;border-radius:3px 3px 0 0;">{{gameIcon|imageFileName=Hanabi_numbers_icons_280.png|tooltip={{{colourName|}}} {{{1|1}}}|scale={{{numberScale|0.8}}}|width={{{size|40}}}*{{{numberScale|0.8}}}*(1 - 0.15)|height={{{size|40}}}*{{{numberScale|0.8}}}|x={{{size|40}}}*{{{numberScale|0.8}}}*({{{1|1}}} - (1 - 0.1))|y={{{size|40}}}*{{{numberScale|0.8}}}*{{{y|0}}}}}</div><div style="grid-area:4/1/5/1;display:grid;place-items:start center;background-color:#2F2342;border-radius:0 0 3px 3px;">{{gameIcon|imageFileName=Hanabi_numbers_icons_280.png|scale={{{symbolScale|0.5}}}|width={{{size|40}}}*{{{symbolScale|0.5}}}|height={{{size|40}}}*{{{symbolScale|0.5}}}|x={{{size|40}}}*{{{symbolScale|0.5}}}*5|y={{{size|40}}}*{{{symbolScale|0.5}}}*{{{y|0}}}}}</div></div><noinclude>
<div style="display:inline-grid;grid:16px 24px 28px/auto-flow;width:26px;color:{{{2|#fff}}};text-align:center;vertical-align:-webkit-baseline-middle"><div style="grid-area:2/1/4/1;z-index:1;width:26px;border-radius:3px;background:{{{b|#324}}};font:700 28px/1.1 Roboto;-webkit-text-stroke:1px rgb(255 255 255/{{{o|0}}})"><span style="font-size:0">{{{4|card}}}</span>{{{1|&#8203;}}}</div><div aria-hidden="true" style="grid-area:3/1/4/1;z-index:1;width:26px;font:20px/1.1 cursive">{{{3|&#8203;}}}</div><div aria-hidden="true" style="grid-area:3/1/4/1;width:26px;position:relative;top:26px;color:{{{hc|#fff}}};font:500 16px/1.1 Roboto;z-index:4">{{{h|}}}</div><span style="visibility:hidd{{{sc|e}}}{{{sn|n}}};font-size:0">,with a </span><div style="grid-area:1/1/3/1;width:12px;margin:0 1px;border-radius:3px;border:1px solid #324;background:#ccc8;visibility:hidde{{{sn|n}}}"></div><span style="grid-area:1/1/3/1;justify-self:center;width:22px;border-radius:3px;border:1px solid #324;background:{{{cc|{{{2|transparent}}}}}};visibility:hidd{{{sc|e}}}n"><span style="visibility:hidd{{{sc|e}}}n;font-size:0">{{{cN|{{{4|card}}}}}}</span></span><span style="grid-area:1/1/3/1;visibility:hidde{{{sn|n}}};padding:0 3px;font:500 16px/1.15 Roboto;text-align:left;color:#324">{{{cn|{{{1|&#8203;}}}}}}</span><span style="visibility:hidd{{{sc|e}}}{{{sn|n}}};font-size:0">clue,</span></div><noinclude>


== Examples ==
== Examples ==
{{HCard|1|y=0|clueColour={{r}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=black|clueDarkSymbol=1}}
{{HCard|2|y=1|clueColour={{y}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=black|clueDarkSymbol=1}}
{{HCard|3|y=2|clueColour={{g}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=white|clueDarkSymbol=0}}
{{HCard|4|y=3|clueColour={{b}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=white|clueDarkSymbol=0}}
{{HCard|5|y=4|clueColour={{w}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=black|clueDarkSymbol=1}}
{{HCard|5|y=5|clueColour={{{2|}}}|showClueNumber={{{n|none}}}|showClueColour={{{c|none}}}|clueTextColour=white|clueDarkSymbol=0}}
{{HCard|5|y=6|clueColour={{k}}|showClueNumber={{{n|none}}}|clueTextColour=black}}


{{Hr|1|n=|c=}}
{|class="wikitable" style="width:auto;line-height:0.8;"
{{Hy|2|n=|c=}}
|+style="line-height:normal"|Hanabi cards
{{Hg|3|n=|c=}}
|-
{{Hb|4|n=|c=}}
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|red
{{Hw|5|n=|c=}}
|style="text-align:center;"|{{Hr|1}} {{Hr|2|n=}} {{Hr|3|c=}} {{Hr|4|n=|c=}} {{HBack|5|{{r}}|red|n=|c=}}
{{Hm|5|n=|c=|{{m}}}}
|<code><nowiki>{{Hr|1}}</nowiki></code>
{{Hk|5|n=}}


== Available parameters ==
<code><nowiki>{{Hr|2|n=}}</nowiki></code>
<div style="display:grid;grid-template-columns:repeat(3,max-content) 2fr;gap:0.5rem;overflow:auto;text-overflow:ellipsis;">
 
   <div style="font-weight:bold;width:8rem;">Parameter</div>
<code><nowiki>{{Hr|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hr|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{r}}|red|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|yellow
|style="text-align:center;"|{{Hy|1}} {{Hy|2|n=}} {{Hy|3|c=}} {{Hy|4|n=|c=}} {{HBack|5|{{y}}|yellow|n=|c=}}
|<code><nowiki>{{Hy|1}}</nowiki></code>
 
<code><nowiki>{{Hy|2|n=}}</nowiki></code>
 
<code><nowiki>{{Hy|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hy|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{y}}|yellow|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|green
|style="text-align:center;"|{{Hg|1}} {{Hg|2|n=}} {{Hg|3|c=}} {{Hg|4|n=|c=}} {{HBack|5|{{g}}|green|n=|c=}}
|<code><nowiki>{{Hg|1}}</nowiki></code>
 
<code><nowiki>{{Hg|2|n=}}</nowiki></code>
 
<code><nowiki>{{Hg|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hg|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{g}}|green|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|blue
|style="text-align:center;"|{{Hb|1}} {{Hb|2|n=}} {{Hb|3|c=}} {{Hb|4|n=|c=}} {{HBack|5|{{b}}|blue|n=|c=}}
|<code><nowiki>{{Hb|1}}</nowiki></code>
 
<code><nowiki>{{Hb|2|n=}}</nowiki></code>
 
<code><nowiki>{{Hb|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hb|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{b}}|blue|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|white
|style="text-align:center;"|{{Hw|1}} {{Hw|2|n=}} {{Hw|3|c=}} {{Hw|4|n=|c=}} {{HBack|5|{{w}}|white|n=|c=}}
|<code><nowiki>{{Hw|1}}</nowiki></code>
 
<code><nowiki>{{Hw|2|n=}}</nowiki></code>
 
<code><nowiki>{{Hw|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hw|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{w}}|white|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|multicolor
|style="text-align:center;"|{{Hm|1}} {{Hm|2|n=}} {{Hm|3|c=}} {{Hm|4|n=|c=}} {{Hm|5|{{g}}|green|n=|c=}} {{HBack|5|{{m}}|multicolor|n=|c=}}
|<code><nowiki>{{Hm|1}}</nowiki></code>
 
<code><nowiki>{{Hm|2|n=}}</nowiki></code>
 
<code><nowiki>{{Hm|3|c=}}</nowiki></code>
 
<code><nowiki>{{Hm|4|n=|c=}}</nowiki></code>
 
<code><nowiki>{{Hm|5|{{g}}|green|n=|c=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{m}}|multicolor|n=|c=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|black powder
|style="text-align:center;"|{{Hk|5}} {{Hk|4|n=}}
|<code><nowiki>{{Hk|5}}</nowiki></code>
 
<code><nowiki>{{Hk|4|n=}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);"|deck
|style="text-align:center;"|{{HDeck|5}}
|<code><nowiki>{{HDeck|5}}</nowiki></code>
|-
!style="writing-mode:vertical-rl;transform:rotate(180deg);" rowspan="2"|cardholder
|style="text-align:center;"|<span style="text-align:left;">{{cardholder|{{Hr|1}}{{Hy|2}}{{Hg|3}}{{Hb|4}} |Alice 🡲}}</span>
|<code><nowiki>{{cardholder|</nowiki></code><code><nowiki>{{Hr|1}}</nowiki></code><code><nowiki>{{Hy|2}}</nowiki></code><code><nowiki>{{Hg|3}}</nowiki></code><code><nowiki>{{Hb|4}}</nowiki></code><code><nowiki>|Alice 🡲}}</nowiki></code>
|-
|style="text-align:center;"|<span style="text-align:left;">{{cardholder|{{Hr|1|h=A}}{{Hy|2|h=B}}{{Hg|3|h=C}}{{Hb|4|h=D}} }}</span>
|<code><nowiki>{{cardholder|</nowiki></code><code><nowiki>{{Hr|1|h=A}}</nowiki></code><code><nowiki>{{Hy|2|h=B}}</nowiki></code><code><nowiki>{{Hg|3|h=C}}</nowiki></code><code><nowiki>{{Hb|4|h=D}}</nowiki></code><code><nowiki>}}</nowiki></code>
|}
 
 
== Parameters ==
<div style="display:grid;grid-template-columns:repeat(4,max-content) 2fr;gap:0.5rem;overflow:auto;text-overflow:ellipsis;">
   <div style="font-weight:bold;width:8rem;">Parameter Id</div>
  <div style="font-weight:bold;width:8rem;">Parameter Name</div>
   <div style="font-weight:bold;width:8rem;">Default value</div>
   <div style="font-weight:bold;width:8rem;">Default value</div>
   <div style="font-weight:bold;width:8rem;">Example</div>
   <div style="font-weight:bold;width:8rem;">Example</div>
   <div style="font-weight:bold;width:8rem;">Description</div>
   <div style="font-weight:bold;width:8rem;">Description</div>
   <div><code>null</code></div>
   <div><code>1</code></div>
   <div><code>null</code></div>
   <div><code>rank</code></div>
  <div><code>&amp;ZeroWidthSpace;</code></div>
   <div><code><nowiki>|5</nowiki></code></div>
   <div><code><nowiki>|5</nowiki></code></div>
   <div>'''''Required:''''' specify the card rank (<code>1</code>/<code>2</code>/<code>3</code>/<code>4</code>/<code>5</code>).</div>
   <div>'''''Required:''''' specify the card rank (<code>1</code>/<code>2</code>/<code>3</code>/<code>4</code>/<code>5</code>).</div>
   <div><code>y</code></div>
   <div><code>2</code></div>
   <div><code>0</code></div>
  <div><code>colour</code></div>
   <div><code><nowiki>|y=2</nowiki></code></div>
  <div><code>transparent</code></div>
   <div>'''''Required:''''' specify the card colour as an integer: red ⇨<code>0</code>, yellow ⇨<code>1</code>, green ⇨<code>2</code>, blue ⇨<code>3</code>, white ⇨<code>4</code>, multicolour ⇨<code>5</code>, black powder ⇨<code>6</code>.</div>
  <div><code><nowiki>|{{g}}</nowiki></code></div>
  <div>'''''Required:''''' specify the card colour e.g. <code><nowiki>{{r}}</nowiki></code> <code><nowiki>{{y}}</nowiki></code> <code><nowiki>{{g}}</nowiki></code> <code><nowiki>{{b}}</nowiki></code> <code><nowiki>{{w}}</nowiki></code> <code><nowiki>{{m}}</nowiki></code></div>
  <div><code>3</code></div>
   <div><code>colourLetter</code></div>
  <div><code>null</code></div>
   <div><code><nowiki>|g</nowiki></code></div>
   <div>'''''Required:''''' specify the card colour letter: red ⇨<code>r</code>, yellow ⇨<code>y</code>, green ⇨<code>g</code>, blue ⇨<code>b</code>, white ⇨<code>w</code>, multicolour ⇨<code>m</code>.</div>
  <div><code>4</code></div>
   <div><code>colourName</code></div>
   <div><code>colourName</code></div>
   <div><code>null</code></div>
   <div><code>card</code></div>
   <div><code><nowiki>|colourName=green</nowiki></code></div>
   <div><code><nowiki>|green</nowiki></code></div>
   <div>'''''Required:''''' specify the colour word used for tooltips and screen readers.</div>
   <div>'''''Required:''''' specify the colour word used for tooltips and screen readers.</div>
  <div><code>cN</code></div>
  <div><code>clueColourName</code></div>
  <div><code><nowiki>{{{N|card}}}</nowiki></code></div>
  <div><code><nowiki>|cN=green</nowiki></code></div>
  <div>'''''Optional:''''' specify the clue colour word used for tooltips and screen readers.</div>
  <div><code>cc</code></div>
   <div><code>clueColour</code></div>
   <div><code>clueColour</code></div>
   <div><code>null</code></div>
   <div><code><nowiki>{{{2|transparent}}}</nowiki></code></div>
   <div><code><nowiki>|clueColour={{g}}</nowiki></code></div>
   <div><code><nowiki>|cc={{g}}</nowiki></code></div>
   <div>'''''Required:''''' specify the clue colour: <code><nowiki>{{r}}</nowiki></code> <code><nowiki>{{y}}</nowiki></code> <code><nowiki>{{g}}</nowiki></code> <code><nowiki>{{b}}</nowiki></code> <code><nowiki>{{w}}</nowiki></code> <code><nowiki>{{m}}</nowiki></code></div>
   <div>'''''Optional:''''' specify the clue colour e.g. <code><nowiki>{{r}}</nowiki></code> <code><nowiki>{{y}}</nowiki></code> <code><nowiki>{{g}}</nowiki></code> <code><nowiki>{{b}}</nowiki></code> <code><nowiki>{{w}}</nowiki></code> <code><nowiki>{{m}}</nowiki></code></div>
   <div><code>clueTextColour</code></div>
   <div><code>cn</code></div>
   <div><code>black</code></div>
  <div><code>clueNumber</code></div>
   <div><code><nowiki>|clueTextColour=white</nowiki></code></div>
   <div><code><nowiki>{{{1|&amp;#8203;}}}</nowiki></code></div>
   <div>'''''Required:''''' specify the number clue text colour as a [https://developer.mozilla.org/en-US/docs/Web/CSS/color CSS colour].</div>
   <div><code><nowiki>|cn={{1}}</nowiki></code></div>
   <div><code>clueDarkSymbol</code></div>
   <div>'''''Optional:''''' specify the clue rank: (<code>1</code>/<code>2</code>/<code>3</code>/<code>4</code>/<code>5</code>).</div>
   <div><code>o</code></div>
  <div><code>textOutline</code></div>
   <div><code>0</code></div>
   <div><code>0</code></div>
   <div><code><nowiki>|clueDarkSymbol=1</nowiki></code></div>
   <div><code><nowiki>|o=1</nowiki></code></div>
   <div>'''''Required:''''' specify the clue symbol shade: light ⇨<code>0</code>, dark ⇨<code>1</code>.</div>
   <div>'''''Optional:''''' specify the text outline opacity: transparent ⇨<code><nowiki>0</nowiki></code>, opaque ⇨<code><nowiki>1</nowiki></code></div>
<div><code>b</code></div>
<div><code>backgroundColour</code></div>
  <div><code>#324</code> (black)</div>
  <div><code><nowiki>|b=grey</nowiki></code></div>
  <div>'''''Optional:''''' specify the background colour.</div>
  <div><code>sn</code></div>
   <div><code>showClueNumber</code></div>
   <div><code>showClueNumber</code></div>
   <div><code>none</code></div>
   <div>''visibility:hidde''<code>n</code></div>
   <div><code><nowiki>|showClueNumber=</nowiki></code></div>
   <div><code><nowiki>|sn=</nowiki></code></div>
   <div>'''''Optional:''''' display the rank clue.</div>
   <div>'''''Optional:''''' display the rank clue.</div>
  <div><code>sc</code></div>
   <div><code>showClueColour</code></div>
   <div><code>showClueColour</code></div>
   <div><code>none</code></div>
   <div>''visibility:hidd''<code>e</code>''n''</div>
   <div><code><nowiki>|showClueColour=</nowiki></code></div>
   <div><code><nowiki>|sc=</nowiki></code></div>
   <div>'''''Optional:''''' display the colour clue.</div>
   <div>'''''Optional:''''' display the colour clue.</div>
   <div><code>size</code></div>
   <div><code>h</code></div>
   <div><code>40</code></div>
   <div><code>holderLabel</code></div>
   <div><code><nowiki>|size=30</nowiki></code></div>
   <div><code>&amp;#8203;</code></div>
  <div>'''''Optional:''''' specify the icon dimensions.</div>
   <div><code><nowiki>|h=A</nowiki></code></div>
  <div><code>numberScale</code></div>
   <div>'''''Optional:''''' specify a character below the card e.g. to represent a player: <code>A</code>/<code>B</code>/<code>C</code>.</div>
  <div><code>0.8</code></div>
   <div><code>hc</code></div>
   <div><code><nowiki>|numberScale=1</nowiki></code></div>
   <div><code>holderLabelColour</code></div>
   <div>'''''Optional:''''' specify the scale factor of the number image.</div>
   <div><code>#fff</code> (white)</div>
  <div><code>colourScale</code></div>
   <div><code><nowiki>|hc=green</nowiki></code></div>
  <div><code>0.5</code></div>
   <div>'''''Optional:''''' specify the card holder label colour e.g. <code><nowiki>green</nowiki></code></div>
   <div><code><nowiki>|colourScale=1</nowiki></code></div>
  <div>'''''Optional:''''' specify the scale factor of the colour symbol image.</div>
   <div><code>clueColourScale</code></div>
   <div><code>0.35</code></div>
   <div><code><nowiki>|clueColourScale=0.5</nowiki></code></div>
   <div>'''''Optional:''''' specify the scale factor of the clue colour symbol image.</div>
</div>
</div>


[[Category:HanabiCards]]
[[Category:HanabiCards]]
</noinclude>
</noinclude>

Latest revision as of 01:28, 27 September 2024

card
,with a
cardclue,

Examples

Hanabi cards
red
red1
,with a
red1clue,
red2
,with a
red2clue,
red3
,with a
red3clue,
red4
,with a
red4clue,
card back
,with a
red5clue,
{{Hr|1}}

{{Hr|2|n=}}

{{Hr|3|c=}}

{{Hr|4|n=|c=}}

{{HBack|5|{{r}}|red|n=|c=}}

yellow
yellow1
,with a
yellow1clue,
yellow2
,with a
yellow2clue,
yellow3
,with a
yellow3clue,
yellow4
,with a
yellow4clue,
card back
,with a
yellow5clue,
{{Hy|1}}

{{Hy|2|n=}}

{{Hy|3|c=}}

{{Hy|4|n=|c=}}

{{HBack|5|{{y}}|yellow|n=|c=}}

green
green1
,with a
green1clue,
green2
,with a
green2clue,
green3
,with a
green3clue,
green4
,with a
green4clue,
card back
,with a
green5clue,
{{Hg|1}}

{{Hg|2|n=}}

{{Hg|3|c=}}

{{Hg|4|n=|c=}}

{{HBack|5|{{g}}|green|n=|c=}}

blue
blue1
,with a
blue1clue,
blue2
,with a
blue2clue,
blue3
,with a
blue3clue,
blue4
,with a
blue4clue,
card back
,with a
blue5clue,
{{Hb|1}}

{{Hb|2|n=}}

{{Hb|3|c=}}

{{Hb|4|n=|c=}}

{{HBack|5|{{b}}|blue|n=|c=}}

white
white1
,with a
white1clue,
white2
,with a
white2clue,
white3
,with a
white3clue,
white4
,with a
white4clue,
card back
,with a
white5clue,
{{Hw|1}}

{{Hw|2|n=}}

{{Hw|3|c=}}

{{Hw|4|n=|c=}}

{{HBack|5|{{w}}|white|n=|c=}}

multicolor
multicolour1
,with a
multicolour1clue,
multicolour2
,with a
multicolour2clue,
multicolour3
,with a
multicolour3clue,
multicolour4
,with a
multicolour4clue,
multicolour5
,with a
green5clue,
card back
,with a
multicolor5clue,
{{Hm|1}}

{{Hm|2|n=}}

{{Hm|3|c=}}

{{Hm|4|n=|c=}}

{{Hm|5|{{g}}|green|n=|c=}}

{{HBack|5|{{m}}|multicolor|n=|c=}}

black powder
black powder5
,with a
black powder5clue,
black powder4
,with a
black powder4clue,
{{Hk|5}}

{{Hk|4|n=}}

deck
cards in the deck5
,with a
cards in the deck5clue,
{{HDeck|5}}
cardholder
red1
,with a
red1clue,
yellow2
,with a
yellow2clue,
green3
,with a
green3clue,
blue4
,with a
blue4clue,
Alice 🡲
{{cardholder|{{Hr|1}}{{Hy|2}}{{Hg|3}}{{Hb|4}}|Alice 🡲}}
red1
,with a
red1clue,
yellow2
,with a
yellow2clue,
green3
,with a
green3clue,
blue4
,with a
blue4clue,
{{cardholder|{{Hr|1|h=A}}{{Hy|2|h=B}}{{Hg|3|h=C}}{{Hb|4|h=D}}}}


Parameters

Parameter Id
Parameter Name
Default value
Example
Description
1
rank
&ZeroWidthSpace;
|5
Required: specify the card rank (1/2/3/4/5).
2
colour
transparent
|{{g}}
Required: specify the card colour e.g. {{r}} {{y}} {{g}} {{b}} {{w}} {{m}}
3
colourLetter
null
|g
Required: specify the card colour letter: red ⇨r, yellow ⇨y, green ⇨g, blue ⇨b, white ⇨w, multicolour ⇨m.
4
colourName
card
|green
Required: specify the colour word used for tooltips and screen readers.
cN
clueColourName
{{{N|card}}}
|cN=green
Optional: specify the clue colour word used for tooltips and screen readers.
cc
clueColour
{{{2|transparent}}}
|cc={{g}}
Optional: specify the clue colour e.g. {{r}} {{y}} {{g}} {{b}} {{w}} {{m}}
cn
clueNumber
{{{1|&#8203;}}}
|cn={{1}}
Optional: specify the clue rank: (1/2/3/4/5).
o
textOutline
0
|o=1
Optional: specify the text outline opacity: transparent ⇨0, opaque ⇨1
b
backgroundColour
#324 (black)
|b=grey
Optional: specify the background colour.
sn
showClueNumber
visibility:hidden
|sn=
Optional: display the rank clue.
sc
showClueColour
visibility:hidden
|sc=
Optional: display the colour clue.
h
holderLabel
&#8203;
|h=A
Optional: specify a character below the card e.g. to represent a player: A/B/C.
hc
holderLabelColour
#fff (white)
|hc=green
Optional: specify the card holder label colour e.g. green