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

Template:Cardholder

From Board Game Arena
Revision as of 19:24, 16 March 2022 by Sammy McSam (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
   
   
   
   
   
A ➞

Available parameters

Parameter
Default value
Example
Result
Description
card#
   (two non-breaking spaces)
{{cardholder |card1=1 |card2=2}}
   
   
   
   
   
A ➞
Optional: specify cards as text where # is the card number from left to right.
card#Colour
#000
{{cardholder |card1=1 |card1Colour=green |card2=2 |card2Colour=green}}
   
   
   
   
   
A ➞
Optional: specify card colours as CSS colours where # is the card number from left to right.
clue#
?
{{cardholder |clue1=1 |clue2=2}}
1
2
   
   
   
   
   
A ➞
Optional: specify clues as text where # is the card number from left to right.
clue#Colour
#fff0 (transparent)
{{cardholder |clue1Colour=green |clue2Colour=green}}
   
   
   
   
   
A ➞
Optional: specify clue colours as CSS colours where # is the card number from left to right.
gap
2
{{cardholder |gap=10}}
   
   
   
   
   
A ➞
Optional: specify the gap between cards in px units.
background
#fff0 (transparent)
{{cardholder |background=green}}
   
   
   
   
   
A ➞
Optional: specify the background colour as a CSS colour.
player
A
{{cardholder |player=Amy}}
   
   
   
   
   
Amy ➞
Optional: specify the player name as text.
arrow
{{cardholder |arrow=}}
   
   
   
   
   
A
Optional: hide the arrow or use another symbol.

Examples

Hanabi

1
2
3
4
5
   
   
   
   
   
A ➞
{{cardholder |background=#dfd |cardBackground=#324
|clue1=1 |clue1Colour=white
|clue2=2 |clue2Colour=lightgreen
|clue3=3 |clue3Colour=yellow
|clue4=4 |clue4Colour=red
|clue5=5 |clue5Colour=deepskyblue

|card1=1 |card1Colour=white
|card2=2 |card2Colour=lightgreen
|card3=3 |card3Colour=yellow
|card4=4 |card4Colour=red
|card5=5 |card5Colour=deepskyblue
}}