Difference between revisions of "Template:Row"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (test)
sc4e>JoeST
m (added "'s)
Line 1: Line 1:
 
{{#if:{{{1|}}}|
 
{{#if:{{{1|}}}|
{{!-}}colspan={{{colspan|1}}} {{#if:{{{style|}}}|style="{{{style}}}"}}}
+
{{!-}}colspan="{{{colspan|1}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}}
 
{{!}}{{{2|{{{1}}}}}}
 
{{!}}{{{2|{{{1}}}}}}
 
{{!-}}|}}
 
{{!-}}|}}
Line 8: Line 8:
 
<pre>{{row| | |colspan=}}</pre>
 
<pre>{{row| | |colspan=}}</pre>
 
==Example==
 
==Example==
{{row|1|stuff in 1|style=text-align:center; font-weight:normal; }}
+
{{row|1|stuff in 1|colspan=2|style=text-align:center; font-weight:normal; }}
 
</noinclude>
 
</noinclude>

Revision as of 03:48, 1 January 2009

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

Syntax

{{row| | |colspan=}}

Example

|- colspan="2" style="text-align:center; font-weight:normal;"} |stuff in 1 |-