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...")
 
 
(12 intermediate revisions by the same user not shown)
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>
{{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 ==
 
<code><nowiki>{{HBack|1|clueColour={{r}}|y=0|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
 
<code><nowiki>{{HBack|2|clueColour={{y}}|y=1|showClueColour=|showClueNumber=|clueDarkSymbol=1}}</nowiki></code>
 
<code><nowiki>{{HBack|3|clueColour={{g}}|y=2|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
 
<code><nowiki>{{HBack|4|clueColour={{b}}|y=3|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
 
<code><nowiki>{{HBack|5|clueColour={{w}}|y=4|showClueColour=|showClueNumber=|clueDarkSymbol=1}}</nowiki></code>
 
<code><nowiki>{{HBack|5|clueColour={{m}}|y=5|showClueColour=|showClueNumber=|clueDarkSymbol=0}}</nowiki></code>
 
<code><nowiki>{{HBack|5|clueColour={{k}}|y=6|showClueNumber=}}</nowiki></code>
 
{{HBack|1|clueColour={{r}}|y=0|showClueColour=|showClueNumber=|clueDarkSymbol=0}}
{{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=}}


See '''[[Template:HCard]]'''


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

Latest revision as of 01:15, 27 September 2024

card back
,with a
clue,

See Template:HCard