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:24px; width: 24px; background: {{{1|#ededed}}}; text-align: center; vertical-align: middle; font-weight: 900;" | {{{3|X}}}</onlyinclude> | + | <onlyinclude>| style="height:24px; width: 24px; background: {{{1|#ededed}}}; {{#ifeq: {{{2|border}}} | border | border-top: 1px solid black; border-left: 1px solid black; | }} text-align: center; vertical-align: middle; font-weight: 900;" | {{{3|X}}}</onlyinclude> |
|} | |} | ||
− | <pre>{{Grid Square|background color|single character}}</pre> | + | <pre>{{Grid Square|background color|border|single character}}</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 <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. | Each grid square has only enough space for a single character. | ||
[[Category:4e Grid Templates|Grid Square]] | [[Category:4e Grid Templates|Grid Square]] |
Revision as of 08:43, 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.