Difference between revisions of "Template:Grid Square"

From Trad Games Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{|
 
{|
<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>
+
<onlyinclude>| 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}}}</onlyinclude>
 
|}
 
|}
  

Revision as of 08:37, 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.