This is a documentation for Board Game Arena: play board games online !
Template:HCard
Jump to navigation
Jump to search
card
Examples
red | red1 red2 ,with a 2clue,red3 ,with a redclue,red4 ,with a red4clue,card back ,with a red5clue, |
{{Hr|1}}
|
---|---|---|
yellow | yellow1 yellow2 ,with a 2clue,yellow3 ,with a yellowclue,yellow4 ,with a yellow4clue,card back ,with a yellow5clue, |
{{Hy|1}}
|
green | green1 green2 ,with a 2clue,green3 ,with a greenclue,green4 ,with a green4clue,card back ,with a green5clue, |
{{Hg|1}}
|
blue | blue1 blue2 ,with a 2clue,blue3 ,with a blueclue,blue4 ,with a blue4clue,card back ,with a blue5clue, |
{{Hb|1}}
|
white | white1 white2 ,with a 2clue,white3 ,with a whiteclue,white4 ,with a white4clue,card back ,with a white5clue, |
{{Hw|1}}
|
multicolor | multicolour1 multicolour2 ,with a 2clue,multicolour3 ,with a multicolourclue,multicolour4 ,with a multicolour4clue,multicolour5 ,with a green5clue,card back ,with a multicolor5clue, |
{{Hm|1}}
|
black powder | black powder5 black powder4 ,with a 4clue, |
{{Hk|5}}
|
deck | cards in the deck5 |
{{HDeck|5}}
|
cardholder | red1 yellow2 green3 blue4 |
{{cardholder| {{Hr|1}} {{Hy|2}} {{Hg|3}} {{Hb|4}} |Alice 🡲}}
|
red1 yellow2 green3 blue4 |
{{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
​
|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|​}}}
|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:hidde
n
|sn=
Optional: display the rank clue.
sc
showClueColour
visibility:hidd
e
n|sc=
Optional: display the colour clue.
h
holderLabel
​
|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