Difference between revisions of "Template:Row"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (extra bracket)
m (35 revisions imported)
 
(461 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|
+
{{#ifexist:{{FULLPAGENAME}}/row|{{:{{FULLPAGENAME}}/row|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}|{{#ifexist:{{NAMESPACE}}{{BASEPAGENAME}}/row|{{:{{NAMESPACE}}{{BASEPAGENAME}}/row|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}|{{#if:{{{1|}}}|
{{!-}}
+
{{!-}}{{{row|}}}
{{!}}colspan="{{{colspan|1}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} {{!}}{{{2|{{{1}}}}}}
+
{{!}}{{#if:{{{cell|}}}|{{{cell}}} {{!}}}}{{{2|{{{1}}}}}}
{{!-}}|}}
+
{{!-}}|}}}}}}<noinclude>
<noinclude>This template is used in tables to provide an optional row (mainly for templates).
+
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>
 +
(the row and cell parameters are optional, and if 2 is empty it inserts 1
 
==Example==
 
==Example==
{{row|1|stuff in 1|colspan=2|style=text-align:center; font-weight:normal; }}
+
{|border=1
 +
{{row|1|stuff in 1}}{{row|2}}{{row}}
 +
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:34, 10 August 2019

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