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

Template:HCard

From Board Game Arena
Revision as of 22:22, 2 January 2024 by Sammy McSam (talk | contribs) (visibility:hidd{{{showClueColour|e}}}{{{showClueNumber|n}}})
Jump to navigation Jump to search
,with a
clue,


Examples

  • 1
    ,with a
    1clue,
2
,with a
2clue,
3
,with a
3clue,
4
,with a
4clue,
5
,with a
5clue,
5
,with a
5clue,
5
,with a
5clue,
,with a
clue,


{{Hr|1|n|c}}

{{Hy|2|n|c=}}

{{Hg|3|n=|c=}}

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

{{Hw|5|n|c=}}

{{Hm|5|{{m}}|2|n=|c=}}

{{Hk|5|n=}}

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

Available parameters

Parameter
Default value
Example
Description
1
​
|5
Required: specify the card rank (1/2/3/4/5).
colour
transparent
|colour={{g}}
Required: specify the card colour: {{r}} {{y}} {{g}} {{b}} {{w}} {{m}}
colourLetter
null
|colourLetter=g
Required: specify the card colour letter: red ⇨r, yellow ⇨y, green ⇨g, blue ⇨b, white ⇨w, multicolour ⇨m.
colourName
null
|colourName=green
Required: specify the colour word used for tooltips and screen readers.
clueColourName
{{{colourName|}}}
|clueColourName=green
Optional: specify the clue colour word used for tooltips and screen readers.
clueColour
{{{colour|transparent}}}
|clueColour={{g}}
Optional: specify the clue colour: {{r}} {{y}} {{g}} {{b}} {{w}} {{m}}
clueNumber
{{{1|​}}}
|clueNumber={{1}}
Optional: specify the clue rank: (1/2/3/4/5).
textOutline
0
|textOutline=1
Optional: specify the text outline opacity: transparent ⇨0, opaque ⇨1
backgroundColour
#2F2342 (black)
|backgroundColour=grey
Optional: specify the background colour.
showClueNumber
none
|showClueNumber=
Optional: display the rank clue.
showClueColour
hidden
|showClueColour=
Optional: display the colour clue.