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

Template:Cardholder

From Board Game Arena
Jump to navigation Jump to search

{{{1}}}

Examples

A♦A♣A♥A♠ Alice

{{cardholder|{{diamond|A}}{{club|A}}{{heart|A}}{{spade|A}} |Alice }}

Hanabi

red1
,with a
red1clue,
yellow2
,with a
yellow2clue,
green3
,with a
green3clue,
blue4
,with a
blue4clue,
Alice 🡲
white5
,with a
white5clue,
multicolour1
,with a
21clue,
multicolour2
,with a
52clue,
black powder3
,with a
black powder3clue,
Bob 🡲

{{cardholder|{{Hr|1}}{{Hy|2|n=}}{{Hg|3|c=}}{{Hb|4|n=|c=}} |Alice 🡲}}

{{cardholder|{{Hw|5|n=}}{{Hm|1|{{g}}|2|0|c=}}{{Hm|2|{{m}}|5|0|n=|c=}}{{Hk|3|n=}} |Bob 🡲}}

Available parameters

Parameter Id
Parameter Name
Default value
Example
Result
Description
1
cards
null
|{{spade|1}}{{spade|2}}{{spade|3}}{{spade|4}}
1♠2♠3♠4♠
Required: specify cards.
2
label
​
|Alice
A♦A♣A♥A♠ Alice
Optional: specify a label.
3
labelColor
#fff (white)
|green
A♦A♣A♥A♠ Alice
Optional: specify the label color as a CSS color.
c
color
#000 (black)
|c=green
A♦A♣A♥A♠
Optional: specify the color as a CSS color.
g
gap
2
|g=8
A♦A♣A♥A♠
Optional: specify the gap between cards in px units.