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
No edit summary
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>
<div style="display:inline-grid;grid:16px 4px 24px 28px/26px;place-items:baseline center;width:26px;margin-inline:2px;"><div style="grid-area:1/1/3/1;place-self:center start;width:12px;height:100%;margin:0 1px;border-radius:3px 3px 0 0;border:1px solid #2F2342;background-color:#ccc8;display:{{{n|none}}};"></div><div style="grid-area:1/1/3/1;width:22px;height:100%;margin:-1px 1px;border-radius:3px 3px 0 0;border:1px solid #2F2342;background-color:{{{2|}}};visibility:{{{c|hidden}}};"></div><div style="grid-area:1/1/2/1;display:{{{n|none}}};place-self:center start;width:24px;padding:0 3px;line-height:normal;font-family:Roboto,Arial,sans-serif;font-weight:500;font-size:16px;color:#2F2342;">{{{1|}}}</div><div alt="card back" style="grid-area:2/1/4/1;border-radius:3px;">{{gameIcon|imageFileName=Hanabi_card_back.png|tooltip=card back|width=24|height=48}}</div></div><noinclude>
 
See '''[[Template:HCard]]'''


== Examples ==
== Examples ==


{{HBack|1|{{r}}|0|y=0|c=|n=}}
{{HBack|1|{{r}}|x=0|c=|n=}}{{HBack|2|{{y}}|x=1|c=|n=}}{{HBack|3|{{g}}|x=2|c=|n=}}{{HBack|4|{{b}}|x=3|c=|n=}}{{HBack|5|{{w}}|x=4|c=|n=}}{{HBack|5|{{m}}|x=5|c=|n=}}{{HBack|5|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|1|{{r}}|x=0|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|2|{{y}}|1|y=1|c=|n=}}</nowiki></code>
<code><nowiki>{{HBack|2|{{y}}|x=1|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|3|{{g}}|0|y=2|c=|n=}}</nowiki></code>
<code><nowiki>{{HBack|3|{{g}}|x=2|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|4|{{b}}|0|y=3|c=|n=}}</nowiki></code>
<code><nowiki>{{HBack|4|{{b}}|x=3|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|{{w}}|1|y=4|c=|n=}}</nowiki></code>
<code><nowiki>{{HBack|5|{{w}}|x=4|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|{{m}}|0|y=5|c=|n=}}</nowiki></code>
<code><nowiki>{{HBack|5|{{m}}|x=5|c=|n=}}</nowiki></code>


<code><nowiki>{{HBack|5|n=}}</nowiki></code>
<code><nowiki>{{HBack|5|n=}}</nowiki></code>

Revision as of 04:29, 28 December 2023

card back

See Template:HCard

Examples

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

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

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

{{HBack|3|{{g}}|x=2|c=|n=}}

{{HBack|4|{{b}}|x=3|c=|n=}}

{{HBack|5|{{w}}|x=4|c=|n=}}

{{HBack|5|{{m}}|x=5|c=|n=}}

{{HBack|5|n=}}