Difference between revisions of "Template:Grid Row"

From Trad Games Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| style="background: #000000; border-spacing:0px; border-right: 1px solid black; border-bottom: 1px solid black"
+
<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|}}
 
{{Grid Square|#ededed|}}
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.