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

Template:HBack: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(Created page with "<div style="display:inline-grid;grid:17px 4px calc(2px*{{{size|40}}}*{{{backScale|0.7}}})/calc(1px*{{{size|40}}}*{{{backScale|0.7}}});width:min-content;"><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|white}}};background-color:lightgrey;display:{{{showClueNumber|none}}};"></div><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|black}}};background-color:{{{clueColo...")
 
No edit summary
Line 1: Line 1:
<div style="display:inline-grid;grid:17px 4px calc(2px*{{{size|40}}}*{{{backScale|0.7}}})/calc(1px*{{{size|40}}}*{{{backScale|0.7}}});width:min-content;"><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|white}}};background-color:lightgrey;display:{{{showClueNumber|none}}};"></div><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|black}}};background-color:{{{clueColour|}}};display:{{{showClueColour|none}}};"></div><div style="grid-area:1/1/2/1;display:{{{showClueNumber|none}}};place-self:center start;padding:0 3px;line-height:normal;font-family:Roboto,Arial,sans-serif;font-weight:500;font-size:16px;color:{{{clueTextColour|black}}};">{{{1|}}}</div><div style="grid-area:1/1/2/1;display:{{{showClueColour|none}}};place-self:center end;padding:0 2px;line-height:normal;">{{gameIcon|imageFileName=Hanabi_numbers_icons_280.png|scale={{{clueSymbolScale|0.35}}}|width={{{size|40}}}*{{{clueSymbolScale|0.35}}}|height={{{size|40}}}*{{{clueSymbolScale|0.35}}}|x={{{size|40}}}*{{{clueSymbolScale|0.35}}}*(5 + {{{clueDarkSymbol|0}}})|y={{{size|40}}}*{{{clueSymbolScale|0.35}}}*{{{y|0}}}}}</div><div alt="card back" style="grid-area:2/1/4/1;border-radius:3px 3px 0 0;">{{gameIcon|imageFileName=Hanabi_card_back.png|tooltip=card back|scale={{{backScale|0.7}}}|width={{{size|40}}}*{{{backScale|0.7}}}|height=2*{{{size|40}}}*{{{numberScale|0.7}}}}}</div></div><noinclude>
<div style="display:inline-grid;grid:17px 4px calc(2px*{{{size|40}}}*{{{backScale|0.7}}})/calc(1px*{{{size|40}}}*{{{backScale|0.7}}});width:min-content;"><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|white}}};background-color:lightgrey;display:{{{n|none}}};"></div><div style="grid-area:1/1/3/1;width:93%;margin:0 1px;border-radius:3px 3px 0 0;color:{{{clueTextColour|black}}};background-color:{{{2|}}};display:{{{c|none}}};"></div><div style="grid-area:1/1/2/1;display:{{{n|none}}};place-self:center start;padding:0 3px;line-height:normal;font-family:Roboto,Arial,sans-serif;font-weight:500;font-size:16px;color:{{{clueTextColour|black}}};">{{{1|}}}</div><div style="grid-area:1/1/2/1;display:{{{c|none}}};place-self:center end;padding:0 2px;line-height:normal;">{{gameIcon|imageFileName=Hanabi_numbers_icons_280.png|scale={{{clueSymbolScale|0.35}}}|width={{{size|40}}}*{{{clueSymbolScale|0.35}}}|height={{{size|40}}}*{{{clueSymbolScale|0.35}}}|x={{{size|40}}}*{{{clueSymbolScale|0.35}}}*(5 + {{{3|0}}})|y={{{size|40}}}*{{{clueSymbolScale|0.35}}}*{{{y|0}}}}}</div><div alt="card back" style="grid-area:2/1/4/1;border-radius:3px 3px 0 0;">{{gameIcon|imageFileName=Hanabi_card_back.png|tooltip=card back|scale={{{backScale|0.7}}}|width={{{size|40}}}*{{{backScale|0.7}}}|height=2*{{{size|40}}}*{{{numberScale|0.7}}}}}</div></div><noinclude>


== Examples ==
== Examples ==


<code><nowiki>{{HBack|1|clueColour={{r}}|y=0|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
<code><nowiki>{{HBack|1|{{r}}|0|y=0|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|2|clueColour={{y}}|y=1|showClueColour=|showClueNumber=|clueDarkSymbol=1}}</nowiki></code>
<code><nowiki>{{HBack|2|{{y}}|1|y=1|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|3|clueColour={{g}}|y=2|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
<code><nowiki>{{HBack|3|{{g}}|0|y=2|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|4|clueColour={{b}}|y=3|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
<code><nowiki>{{HBack|4|{{b}}|0|y=3|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|clueColour={{w}}|y=4|showClueColour=|showClueNumber=|clueDarkSymbol=1}}</nowiki></code>
<code><nowiki>{{HBack|5|{{w}}|1|y=4|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|clueColour={{m}}|y=5|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
<code><nowiki>{{HBack|5|{{m}}|0|y=5|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|clueColour={{k}}|y=6|showClueNumber=}}</nowiki></code>
<code><nowiki>{{HBack|5|n=}}</nowiki></code>


{{HBack|1|clueColour={{r}}|y=0|showClueColour=|showClueNumber=|clueDarkSymbol=0}}
<code><nowiki>{{HBack|5|{{g}}|c=}}</nowiki></code>
{{HBack|2|clueColour={{y}}|y=1|showClueColour=|showClueNumber=|clueDarkSymbol=1}}
{{HBack|3|clueColour={{g}}|y=2|showClueColour=|showClueNumber=|clueDarkSymbol=0}}
{{HBack|4|clueColour={{b}}|y=3|showClueColour=|showClueNumber=|clueDarkSymbol=0}}
{{HBack|5|clueColour={{w}}|y=4|showClueColour=|showClueNumber=|clueDarkSymbol=1}}
{{HBack|5|clueColour={{m}}|y=5|showClueColour=|showClueNumber=|clueDarkSymbol=0}}
{{HBack|5|clueColour={{k}}|y=6|showClueNumber=}}


{{HBack|1|{{r}}|0|y=0|c=|n=}}
{{HBack|2|{{y}}|1|y=1|c=|n=}}
{{HBack|3|{{g}}|0|y=2|c=|n=}}
{{HBack|4|{{b}}|0|y=3|c=|n=}}
{{HBack|5|{{w}}|1|y=4|c=|n=}}
{{HBack|5|{{m}}|0|y=5|c=|n=}}
{{HBack|5|n=}}
{{HBack|5|{{g}}|c=}}


[[Category:HanabiCards]]
[[Category:HanabiCards]]
</noinclude>
</noinclude>

Revision as of 02:29, 19 December 2023

​
card back

Examples

{{HBack|1|{{r}}|0|y=0|c=|n=}}

{{HBack|2|{{y}}|1|y=1|c=|n=}}

{{HBack|3|{{g}}|0|y=2|c=|n=}}

{{HBack|4|{{b}}|0|y=3|c=|n=}}

{{HBack|5|{{w}}|1|y=4|c=|n=}}

{{HBack|5|{{m}}|0|y=5|c=|n=}}

{{HBack|5|n=}}

{{HBack|5|{{g}}|c=}}

1
​
card back
2
​
card back
3
​
card back
4
​
card back
5
​
card back
5
​
card back
5
​
card back
5
​
card back