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) (textOutline) |
Sammy McSam (talk | contribs) No edit summary |
||
Line 51: | Line 51: | ||
<div><code><nowiki>|clueColour={{g}}</nowiki></code></div> | <div><code><nowiki>|clueColour={{g}}</nowiki></code></div> | ||
<div>'''''Optional:''''' specify the clue colour: <code><nowiki>{{r}}</nowiki></code> <code><nowiki>{{y}}</nowiki></code> <code><nowiki>{{g}}</nowiki></code> <code><nowiki>{{b}}</nowiki></code> <code><nowiki>{{w}}</nowiki></code> <code><nowiki>{{m}}</nowiki></code></div> | <div>'''''Optional:''''' specify the clue colour: <code><nowiki>{{r}}</nowiki></code> <code><nowiki>{{y}}</nowiki></code> <code><nowiki>{{g}}</nowiki></code> <code><nowiki>{{b}}</nowiki></code> <code><nowiki>{{w}}</nowiki></code> <code><nowiki>{{m}}</nowiki></code></div> | ||
<div><code>textOutline</code></div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>|textOutline=1</nowiki></code></div> | |||
<div>'''''Optional:''''' specify the text outline opacity: transparent ⇨<code><nowiki>0</nowiki></code>, opaque ⇨<code><nowiki>1</nowiki></code></div> | |||
<div><code>showClueNumber</code></div> | <div><code>showClueNumber</code></div> | ||
<div><code>none</code></div> | <div><code>none</code></div> |
Revision as of 17:11, 28 December 2023
Examples
1
2
3
4
5
5
5
{{Hr|1|n=|c}}
{{Hy|2|n|c=}}
{{Hg|3|n=|c=}}
{{Hb|4|n=|c}}
{{Hw|5|n|c=}}
{{Hm|5|{{m}}|2|n=|c=}}
{{Hk|5|n=}}
Available parameters
Parameter
Default value
Example
Description
1
null
|5
Required: specify the card rank (
1
/2
/3
/4
/5
).colour
transparent
|colour={{g}}
Required: specify the card colour:
{{r}}
{{y}}
{{g}}
{{b}}
{{w}}
{{m}}
x
-1
|x=2
Required: specify the card colour symbol as an integer: red ⇨
0
, yellow ⇨1
, green ⇨2
, blue ⇨3
, white ⇨4
, multicolour ⇨5
, black powder ⇨6
.colourName
null
|colourName=green
Required: specify the colour word used for tooltips and screen readers.
clueColour
null
|clueColour={{g}}
Optional: specify the clue colour:
{{r}}
{{y}}
{{g}}
{{b}}
{{w}}
{{m}}
textOutline
0
|textOutline=1
Optional: specify the text outline opacity: transparent ⇨
0
, opaque ⇨1
showClueNumber
none
|showClueNumber=
Optional: display the rank clue.
showClueColour
hidden
|showClueColour=
Optional: display the colour clue.