This is a documentation for Board Game Arena: play board games online !
Template:Cardholder: Difference between revisions
Jump to navigation
Jump to search
Alice 🡲
Bob 🡲
Sammy McSam (talk | contribs) mNo edit summary |
Sammy McSam (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
{{cardholder|{{diamond|A}}{{club|A}}{{heart|A}}{{spade|A}} |Alice}} | {{cardholder|{{diamond|A}}{{club|A}}{{heart|A}}{{spade|A}} |Alice}} | ||
<code><nowiki>{{cardholder|</nowiki>'''<span style="background:#fdd;"><nowiki>{{diamond|A}}</nowiki></span><span style="background:#eee;"><nowiki>{{club|A}}</nowiki></span><span style="background:#fdd;"><nowiki>{{heart|A}}</nowiki></span><span style="background:#eee;"><nowiki>{{spade|A}} | <code><nowiki>{{cardholder|</nowiki>'''<span style="background:#fdd;"><nowiki>{{diamond|A}}</nowiki></span><span style="background:#eee;"><nowiki>{{club|A}}</nowiki></span><span style="background:#fdd;"><nowiki>{{heart|A}}</nowiki></span><span style="background:#eee;"><nowiki>{{spade|A}}</nowiki>'''</span> |'''Alice'''<nowiki> }}</nowiki></code> | ||
=== [[Gamehelphanabi|Hanabi]] === | === [[Gamehelphanabi|Hanabi]] === |
Latest revision as of 01:17, 8 October 2024
{{{1}}}
Examples
A♦A♣A♥A♠ Alice
{{cardholder|{{diamond|A}}{{club|A}}{{heart|A}}{{spade|A}} |Alice }}
Hanabi
red1
yellow2
,with a 2clue,green3
,with a greenclue,blue4
,with a blue4clue,white5
multicolour1
,with a 2clue,multicolour2
,with a 52clue,black powder3
,with a 3clue,{{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.