Difference between revisions of "Template:Row"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (extra bracket)
sc4e>JoeST
m (merged into row and cell)
Line 1: Line 1:
 
{{#if:{{{1|}}}|
 
{{#if:{{{1|}}}|
{{!-}}
+
{{!-}}{{{row|}}}
{{!}}colspan="{{{colspan|1}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} {{!}}{{{2|{{{1}}}}}}
+
{{!}}{{#if#{{{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).
  
 
==Syntax==
 
==Syntax==
<pre>{{row| | |colspan=}}</pre>
+
<pre>{{row| | |row=|cell=}}</pre>
 
==Example==
 
==Example==
{{row|1|stuff in 1|colspan=2|style=text-align:center; font-weight:normal; }}
+
{{row|1|stuff in 1|cell="align=center"}}
 
</noinclude>
 
</noinclude>

Revision as of 04:17, 1 January 2009

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

Syntax

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

Example

|-

|{{#if#"align=center"|"align=center" |}}}stuff in 1 |-