Difference between revisions of "Template:Grid Square"
Jump to navigation
Jump to search
Fuego Fish (talk | contribs) |
Fuego Fish (talk | contribs) |
||
Line 1: | Line 1: | ||
{| | {| | ||
− | <onlyinclude>| style="height: | + | <onlyinclude>| style="height:48px; width: 48px; background: {{{1|#ededed}}}; border-top: 1px solid black; border-left: 1px solid black; <noinclude>border: 1px solid black;</noinclude> text-align: center; vertical-align: middle; font-weight: 900; font-size:{{{3|80%}}}; padding: 0px" | {{{2|X}}}</onlyinclude> |
|} | |} | ||
− | <pre>{{Grid Square|background color|single character}}</pre> | + | <pre>{{Grid Square|background color|single character|font size}}</pre> |
Background colour needs to be in standard HTML format, such as <code>#B3E8DD</code>. | Background colour needs to be in standard HTML format, such as <code>#B3E8DD</code>. | ||
− | + | Use the optional <code>font size</code> to control the size of the character(s) within the square. The default is 80%. | |
[[Category:4e Grid Templates|Square]] | [[Category:4e Grid Templates|Square]] |
Revision as of 16:05, 20 June 2019
X |
{{Grid Square|background color|single character|font size}}
Background colour needs to be in standard HTML format, such as #B3E8DD
.
Use the optional font size
to control the size of the character(s) within the square. The default is 80%.