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

Template:Cardholder4

From Board Game Arena
Revision as of 13:25, 7 October 2023 by Sammy McSam (talk | contribs) (Created page with "<div style="position:relative;display:grid;grid:repeat(3, auto) / repeat(4,auto);gap:0rem {{{gap|2}}}px;background:{{{background|#fff0}}};border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;padding:0.5rem;line-height:0.1;width:max-content;align-items:end;"> <div style="background:{{{clue1Colour|#fff0}}};margin-left:5%;padding-left:10%;height:1.4rem;width:75%;border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;color:{{{colour|#000}}};font-size:calc({{{size|2}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
   
   
   
   
A ➞

Available parameters

Parameter
Default value
Example
Result
Description
card#
&nbsp;&nbsp; (two non-breaking spaces)
{{cardholder4 |card1=1 |card2=2}}
   
   
   
   
A ➞
Optional: specify cards as text where # is the card number from left to right.
card#Colour
#000
{{cardholder4 |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.
card#Background
{{{cardBackground|#fafafa}}}
{{cardholder4 |card1Background=green |card2Background=green}}
   
   
   
   
A ➞
Optional: specify card background colours as CSS colours where # is the card number from left to right. This overrides the cardBackground parameter.
cardBackground
#fafafa (almost white)
{{cardholder4 |cardBackground=green}}
   
   
   
   
A ➞
Optional: specify all card background colours as CSS colours.
clue#
?
{{cardholder4 |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)
{{cardholder4 |clue1Colour=green |clue2Colour=green}}
   
   
   
   
A ➞
Optional: specify clue colours as CSS colours where # is the card number from left to right.
gap
2
{{cardholder4 |gap=10}}
   
   
   
   
A ➞
Optional: specify the gap between cards in px units.
background
#fff0 (transparent)
{{cardholder4 |background=green}}
   
   
   
   
A ➞
Optional: specify the background colour as a CSS colour.
player
A
{{cardholder4 |player=Amy}}
   
   
   
   
Amy ➞
Optional: specify the player name as text.
arrow
{{cardholder4 |arrow=}}
   
   
   
   
A
Optional: hide the arrow or use another symbol.

Examples

Hanabi

1
2
3
4
   
   
   
   
A ➞
{{cardholder4
|clue1=1 |clue1Colour={{w}}
|clue2=2 |clue2Colour={{g}}
|clue3=3 |clue3Colour={{g}}
|clue4=4 |clue4Colour={{r}}
|clue5=5 |clue5Colour={{b}}

|card1=1 |card1Colour={{w}}
|card2=2 |card2Colour={{g}}
|card3=3 |card3Colour={{y}}
|card4=4 |card4Colour={{r}}
|card5=5 |card5Colour={{b}}
}}