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) m ({{{N|card}}}) |
Sammy McSam (talk | contribs) m (Template:HDeck) |
||
| Line 3: | Line 3: | ||
== Examples == | == Examples == | ||
* {{Hr|1}} {{Hy|2|c=}} {{Hg|3|n=|c=}} {{Hb|4|n=|c}} {{Hw|5|n|c=}} {{Hm|5|n=|c=}} {{Hk|5|n=}} {{HBack|5|{{g}}|green|n=|c=}} | * {{Hr|1}} {{Hy|2|c=}} {{Hg|3|n=|c=}} {{Hb|4|n=|c}} {{Hw|5|n|c=}} {{Hm|5|n=|c=}} {{Hk|5|n=}} {{HBack|5|{{g}}|green|n=|c=}} {{HDeck|5}} | ||
<code><nowiki>{{Hr|1}}</nowiki></code> | <code><nowiki>{{Hr|1}}</nowiki></code> | ||
| Line 21: | Line 21: | ||
<code><nowiki>{{HBack|5|{{g}}|green|n=|c=}}</nowiki></code> | <code><nowiki>{{HBack|5|{{g}}|green|n=|c=}}</nowiki></code> | ||
== | <code><nowiki>{{HDeck|5}}</nowiki></code> | ||
== Parameters == | |||
<div style="display:grid;grid-template-columns:repeat(4,max-content) 2fr;gap:0.5rem;overflow:auto;text-overflow:ellipsis;"> | <div style="display:grid;grid-template-columns:repeat(4,max-content) 2fr;gap:0.5rem;overflow:auto;text-overflow:ellipsis;"> | ||
<div style="font-weight:bold;width:8rem;">Parameter Id</div> | <div style="font-weight:bold;width:8rem;">Parameter Id</div> | ||
Revision as of 18:54, 17 July 2024
card
Examples
- card1card2card3card4card5card5card5card5card5
{{Hr|1}}
{{Hy|2|n|c=}}
{{Hg|3|n=|c=}}
{{Hb|4|n=|c}}
{{Hw|5|n|c=}}
{{Hm|5|n=|c=}}
{{Hk|5|n=}}
{{HBack|5|{{g}}|green|n=|c=}}
{{HDeck|5}}
Parameters
Parameter Id
Parameter Name
Default value
Example
Description
1null​ (ZeroWidthSpace)|5Required: specify the card rank (
1/2/3/4/5).ccolourtransparent|c={{g}}Required: specify the card colour:
{{r}} {{y}} {{g}} {{b}} {{w}} {{m}}LcolourLetternull|L=gRequired: specify the card colour letter: red ⇨
r, yellow ⇨y, green ⇨g, blue ⇨b, white ⇨w, multicolour ⇨m.NcolourNamecard|N=greenRequired: specify the colour word used for tooltips and screen readers.
cNclueColourName{{{N|card}}}|cN=greenOptional: specify the clue colour word used for tooltips and screen readers.
ccclueColour{{{c|transparent}}}|cc={{g}}Optional: specify the clue colour:
{{r}} {{y}} {{g}} {{b}} {{w}} {{m}}cnclueNumber{{{1|​}}}|cn={{1}}Optional: specify the clue rank: (
1/2/3/4/5).otextOutline0|o=1Optional: specify the text outline opacity: transparent ⇨
0, opaque ⇨1bbackgroundColour#2F2342 (black)|b=greyOptional: specify the background colour.
snshowClueNumbervisibility:hidde
n|sn=Optional: display the rank clue.
scshowClueColourvisibility:hidd
en|sc=Optional: display the colour clue.