Template:Grid Square: Difference between revisions

From Trad Games Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{|</noinclude>
{|
| 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}}}
<includeonly>| 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}}}</includeonly>
<noinclude>|}
|}


<pre>{{Grid Square|background color|border|single character}}</pre>
<pre>{{Grid Square|background color|border|single character}}</pre>
Line 11: Line 11:
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]]</noinclude>
[[Category:4e Grid Templates|Grid Square]]

Revision as of 08:36, 20 June 2019

{{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.