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

Template:Hand: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
No edit summary
(title="cards in hand")
Line 1: Line 1:
<span style="display:inline-block;position:relative;text-shadow:0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}};font-size:{{{size|1.5}}}rem;line-height:calc({{{size|1.5}}}rem * 1.25);">✋<span style="margin: 0;position:absolute;top:70%;left:45%;margin-right:-50%;transform:translate(-50%,-50%);color:#000;text-shadow:0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA;font-size:calc({{{size|1.5}}}rem / 1.5);font-weight:700;">{{{|&nbsp;}}}</span></span><noinclude>
<span title="cards in hand" style="display:inline-block;position:relative;text-shadow:0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}},0 0 calc({{{size|1.5}}}rem / 20) {{{outlineColour|#000A}}};font-size:{{{size|1.5}}}rem;line-height:calc({{{size|1.5}}}rem * 1.25);">✋<span style="margin: 0;position:absolute;top:70%;left:45%;margin-right:-50%;transform:translate(-50%,-50%);color:#000;text-shadow:0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA,0 0 calc({{{size|1.5}}}rem / 20) #fffA;font-size:calc({{{size|1.5}}}rem / 1.5);font-weight:700;">{{{|&nbsp;}}}</span></span><noinclude>
{|class="wikitable" style="text-align:left;"
{|class="wikitable" style="text-align:left;"
|+Available parameters
|+Available parameters

Revision as of 18:46, 11 October 2023

 

Available parameters
Parameter Default value Example Result Description
null &nbsp; (white space) {{hand|=4}} 4 Optional: specify the number of cards in hand e.g. 4.
size 1.5 {{Hand|size=2}}   Optional: specify the size in rem units.
outlineColour #000A (translucent black) {{Hand|outlineColour=green}}   Optional: specify the outline colour as a CSS colour.