This is a documentation for Board Game Arena: play board games online !
Template:HBack: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) No edit summary |
Sammy McSam (talk | contribs) (div ⇨ span) |
||
Line 1: | Line 1: | ||
< | <span style="display:inline-grid;grid:17px 4px calc(2px*{{{size|40}}}*{{{backScale|0.7}}})/calc(1px*{{{size|40}}}*{{{backScale|0.7}}});width:min-content;"><span 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}}};"></span><span 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}}};"></span><span 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|}}}</span><span 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}}}}}</span><span 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}}}}}</span></span><noinclude> | ||
== Examples == | == Examples == |
Revision as of 21:36, 19 December 2023
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
2
3
4
5
5
5