Template:Column-generating template families

From STRIDE Wiki
Jump to navigation Jump to search

Column-generating template families

Family Type <div style="padding:0.1em 0;line-height:1.2em;{{#if:Handles wiki
 table code?File:Dagger-14-plain.png|font-weight:normal}}">{{#if:Handles wiki
 table code?File:Dagger-14-plain.png|Handles wiki
 table code?File:Dagger-14-plain.png|font-weight:normal}}
Start template Break between columns End template
"Col" Table {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Col-float" CSS float File:Green check.svgY {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Table File:Green check.svgY {{Columns}}
"Columns-start" CSS float File:Green check.svgY {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns File:Green check.svgY {{Div col}}
– {{Columns-list}} (wrapper)
{{Div col end}}
"Multicol" Table {{Multicol}} {{Multicol-break}} {{Multicol-end}}

File:Dagger-14-plain.png I.e. can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags ({{#switch:pair

 |c|close =
 |s|single
 |o|open
 |p|pair = <table{{#if:| {{{params}}}}}
}}{{#switch:pair
 |c|close = 
 |s|single =  />
 |o|open = >
 |p|pair = {{#ifeq:table|!--||>}}...
}}{{#switch:pair
 |s|single
 |o|open =
 |c|close
 |p|pair = {{#ifeq:table|!--|-->|</table>}}
}}, {{#switch:pair
 |c|close =
 |s|single
 |o|open
 |p|pair = <tr{{#if:| {{{params}}}}}
}}{{#switch:pair
 |c|close = 
 |s|single =  />
 |o|open = >
 |p|pair = {{#ifeq:tr|!--||>}}...
}}{{#switch:pair
 |s|single
 |o|open =
 |c|close
 |p|pair = {{#ifeq:tr|!--|-->|</tr>}}
}}, etc.) will need to be used instead.


Used by {{Column templates}} to provide links to column-related templates.

See also