Difference between revisions of "Template:Grid Row"

From Trad Games Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| style="background: #4a4a4a; border-spacing:2px; padding-left: 1px; padding-right: 1px; padding-top: 1px"
+
<onlyinclude>{| style="background: #000000; border-spacing:0px; border-right: 1px solid black; {{#ifeq: {{{2|}}} | last row | border-bottom: 1px solid black; | }}"
 
{{{1|
 
{{{1|
{{Grid Square|#ededed|border|}}
+
{{Grid Square|#ededed|}}
{{Grid Square|#ededed|border|}}
+
{{Grid Square|#ededed|}}
 
{{Grid Square|||}}
 
{{Grid Square|||}}
{{Grid Square|#ededed|border|}}
+
{{Grid Square|#ededed|X}}
{{Grid Square|#ededed|border|}}
+
{{Grid Square|#ededed|}}
 
}}}
 
}}}
 
|}</onlyinclude>
 
|}</onlyinclude>
Line 15: Line 15:
 
{{Grid Square}}
 
{{Grid Square}}
 
{{Grid Square}}
 
{{Grid Square}}
}}</pre>
+
|last row}}</pre>
  
Use as many <code><nowiki>{{Grid Square}}</nowiki></code> as required.
+
Use as many <code><nowiki>{{Grid Square}}</nowiki></code> as required. Append <code>last row</code> if it is the last row in the grid.
  
[[Category:4e Grid Templates|Grid Row]]
+
[[Category:4e Grid Templates|Row]]

Latest revision as of 09:31, 20 June 2019

X
{{Grid Row|
{{Grid Square}}
{{Grid Square}}
{{Grid Square}}
{{Grid Square}}
{{Grid Square}}
|last row}}

Use as many {{Grid Square}} as required. Append last row if it is the last row in the grid.