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

Template:Cardholder

From Board Game Arena
Revision as of 21:17, 19 December 2023 by Sammy McSam (talk | contribs) (redesign)
Jump to navigation Jump to search

​♦​♣​♥​♠A

{{cardholder|A|cards={{diamond|=A}}{{club|=A}}{{heart|=A}}{{spade|=A}} }}

Examples

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|Alice 🡲|cards={{Hr|1|n|c}}{{Hy|2|n=|c}}{{Hg|3|n|c=}}{{Hb|4|n=|c=}} }}

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

Available parameters

Parameter
Default value
Example
Result
Description
1
A
|Alice
​♦​♣​♥​♠Alice
Optional: specify holder text.
cards
|cards={{diamond|=A}}{{club|=A}}{{heart|=A}}{{spade|=A}}
|cards={{spade|=1}}{{spade|=2}}{{spade|=3}}{{spade|=4}}
​♠​♠​♠​♠A
Required: specify cards.
holderColour
#000 (black)
|holderColour=green
​♦​♣​♥​♠A
Optional: specify the holder colour as a CSS colour.
textColour
#fff (white)
|textColour=green
​♦​♣​♥​♠A
Optional: specify the holder text colour as a CSS colour.
background
#fff0 (transparent)
|background=green
​♦​♣​♥​♠A
Optional: specify the background colour as a CSS colour.
gap
2
|gap=8
​♦​♣​♥​♠A
Optional: specify the gap between cards in px units.