Šablon:Column-generating template families
Izgled
Column-generating template families
| {{#if: |[[File:{{{image}}}|40px|Oprez|link=]] | | The templates listed here are not interchangeable. For example, using {{Multicol}} with {{col-end}} instead of {{Multicol-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting. |
| Family | Type | Handles wiki {{#if:|}}
table code? |
Start template | Column divider | End template |
|---|---|---|---|---|---|
| "Col" | Table | Da | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}} {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
| "Columns" | Table | Ne | {{Columns}} | – | – |
| "Multicol" | Table | Da | {{Multicol}} | {{Multicol-break}} | {{Multicol-end}} |
| "Col-float" | CSS float | Da | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
| "Columns-start" | CSS float | Da | {{Columns-start}} | {{Column}} | {{Columns-end}} |
| "Div col" | CSS columns | Da | {{Div col}} – {{Columns-list}} (wrapper) |
{{No col break}} | {{Div col end}} |
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 = >...
}}{{#switch:pair
|s|single
|o|open =
|c|close
|p|pair = </table>
}}, {{#switch:pair
|c|close =
|s|single
|o|open
|p|pair = <tr{{#if:| {{{params}}}}}
}}{{#switch:pair
|c|close =
|s|single = />
|o|open = >
|p|pair = >...
}}{{#switch:pair
|s|single
|o|open =
|c|close
|p|pair = </tr>
}}, etc.) will need to be used instead.
Used by {{Column templates}} to provide links to column-related templates.
See also
- {{Autocol}}