Difference between revisions of "Template:Grid Square"
Jump to navigation
Jump to search
Fuego Fish (talk | contribs) |
Fuego Fish (talk | contribs) |
||
Line 2: | Line 2: | ||
| style="height:24px; width: 24px; background: {{{1|#ededed}}}; {{#ifeq: {{{2|border}}} | border | border: 1px solid #000000; | }} text-align: center; vertical-align: middle; font-weight: 900;" | {{{3|X}}} | | style="height:24px; width: 24px; background: {{{1|#ededed}}}; {{#ifeq: {{{2|border}}} | border | border: 1px solid #000000; | }} text-align: center; vertical-align: middle; font-weight: 900;" | {{{3|X}}} | ||
<noinclude>|} | <noinclude>|} | ||
+ | |||
+ | <pre>{{Grid Square|background color|border|single character}}</pre> | ||
+ | |||
+ | Background colour needs to be in standard HTML format, such as <code>#B3E8DD</code>. | ||
+ | |||
+ | Use <code>border</code> to provide a 1 pixel black border, leave blank for no border. | ||
+ | |||
+ | Each grid square has only enough space for a single character. | ||
[[Category:4e Grid Templates|Grid Square]]</noinclude> | [[Category:4e Grid Templates|Grid Square]]</noinclude> |
Revision as of 08:28, 20 June 2019
X |
{{Grid Square|background color|border|single character}}
Background colour needs to be in standard HTML format, such as #B3E8DD
.
Use border
to provide a 1 pixel black border, leave blank for no border.
Each grid square has only enough space for a single character.