Difference between revisions of "Template:Row"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (bracket)
sc4e>JoeST
m (changed)
Line 1: Line 1:
{{#if:{{{1|}}}|
+
{{option|{{{1|}}}|
 
{{!-}}{{{row|}}}
 
{{!-}}{{{row|}}}
{{!}}{{#if:{{{cell|}}}|{{{cell}}} {{!}}}}{{{2|{{{1}}}}}}
+
{{!}}{{option|{{{cell|}}}|{{{cell}}} {{!}}}}{{{2|{{{1}}}}}}
 
{{!-}}|}}
 
{{!-}}|}}
 
<noinclude>This template is used in tables to provide an optional row (mainly for templates).
 
<noinclude>This template is used in tables to provide an optional row (mainly for templates).
Line 7: Line 7:
 
==Syntax==
 
==Syntax==
 
<pre>{{row| | |row=|cell=}}</pre>
 
<pre>{{row| | |row=|cell=}}</pre>
 +
(the row and cell parameters are optional, and if 2 is empty it inserts 1
 
==Example==
 
==Example==
{{row|1|stuff in 1|cell=align=center}}
+
{|border=1
 +
{{row|1|stuff in 1}}{{row|2}}{{row}}
 +
|}
 
</noinclude>
 
</noinclude>

Revision as of 12:09, 15 January 2009

This template is used in tables to provide an optional row (mainly for templates).

Syntax

{{row| | |row=|cell=}}

(the row and cell parameters are optional, and if 2 is empty it inserts 1

Example

stuff in 1
2