This is a documentation for Board Game Arena: play board games online !
Template:HCard: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (div ⇨ span) |
Sammy McSam (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
== Examples == | == Examples == | ||
{{Hr|1|n=|c=}} | {{Hr|1|n=|c=}} | ||
{{Hy|2|n=|c=}} | {{Hy|2|n=|c=}} | ||
| Line 11: | Line 10: | ||
{{Hm|5|{{g}}|2|n=|c=}} | {{Hm|5|{{g}}|2|n=|c=}} | ||
{{Hk|5|n=}} | {{Hk|5|n=}} | ||
<pre> | |||
{{Hr|1|n=|c=}} | {{Hr|1|n=|c=}} | ||
{{Hy|2|n=|c=}} | {{Hy|2|n=|c=}} | ||
| Line 20: | Line 19: | ||
{{Hm|5|{{g}}|2|n=|c=}} | {{Hm|5|{{g}}|2|n=|c=}} | ||
{{Hk|5|n=}} | {{Hk|5|n=}} | ||
</pre> | |||
== Available parameters == | == Available parameters == | ||
Revision as of 21:42, 19 December 2023
Examples
{{Hr|1|n=|c=}}
{{Hy|2|n=|c=}}
{{Hg|3|n=|c=}}
{{Hb|4|n=|c=}}
{{Hw|5|n=|c=}}
{{Hm|5|{{g}}|2|n=|c=}}
{{Hk|5|n=}}
Available parameters
Parameter
Default value
Example
Description
11|5Required: specify the card rank (
1/2/3/4/5).y0|y=2Required: specify the card colour as an integer: red ⇨
0, yellow ⇨1, green ⇨2, blue ⇨3, white ⇨4, multicolour ⇨5, black powder ⇨6.clueY{{{y|0}}}|clueY=2Optional: specify the clue symbol colour for multicolour as an integer: red ⇨
0, yellow ⇨1, green ⇨2, blue ⇨3, white ⇨4, multicolour ⇨5.colourNamenull|colourName=greenRequired: specify the colour word used for tooltips and screen readers.
clueColournull|clueColour={{g}}Required: specify the clue colour:
{{r}} {{y}} {{g}} {{b}} {{w}} {{m}}clueTextColourblack|clueTextColour=whiteRequired: specify the number clue text colour as a CSS colour.
clueDarkSymbol0|clueDarkSymbol=1Required: specify the clue symbol shade: light ⇨
0, dark ⇨1.showClueNumbernone|showClueNumber=Optional: display the rank clue.
showClueColournone|showClueColour=Optional: display the colour clue.
size40|size=30Optional: specify the icon dimensions.
numberScale0.8|numberScale=1Optional: specify the scale factor of the number image.
colourScale0.5|colourScale=1Optional: specify the scale factor of the colour symbol image.
clueColourScale0.35|clueColourScale=0.5Optional: specify the scale factor of the clue colour symbol image.