Difference between revisions of "Template:Row"
Jump to navigation
Jump to search
sc4e>JoeST m (removed option dependencies) |
sc4e>JoeST m (looks at basepagename now) |
||
Line 1: | Line 1: | ||
− | {{#ifexist:{{FULLPAGENAME}}/row|{{:{{FULLPAGENAME}}/row|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}|{{#if:{{{1|}}}| | + | {{#ifexist:{{FULLPAGENAME}}/row|{{:{{FULLPAGENAME}}/row|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}|{{#ifexist:{{BASEPAGENAME}}/row|{{:{{BASEPAGENAME}}/row|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}|{{#if:{{{1|}}}| |
{{!-}}{{{row|}}} | {{!-}}{{{row|}}} | ||
{{!}}{{#if:{{{cell|}}}|{{{cell}}} {{!}}}}{{{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== |
Revision as of 02:45, 29 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 |