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
No edit summary
 
(9 intermediate revisions by the same user not shown)
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>
{{HCard|&#8203;|transparent|&#8203;|card back|h={{{h|}}}|hc={{{hc|#fff}}}|b=#999|cn={{{1|}}}|cc={{{2|}}}|cN={{{3|}}}|sc={{{c|e}}}|sn={{{n|n}}}}}<noinclude>


== Examples ==
See '''[[Template:HCard]]'''
 
{{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=}}
 
<code><nowiki>{{HBack|1|{{r}}|0|y=0|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|2|{{y}}|1|y=1|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|3|{{g}}|0|y=2|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|4|{{b}}|0|y=3|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{w}}|1|y=4|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|{{m}}|0|y=5|c=|n=}}</nowiki></code>
 
<code><nowiki>{{HBack|5|n=}}</nowiki></code>


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

Latest revision as of 01:15, 27 September 2024

card back
,with a
clue,

See Template:HCard