Template:Columns
Appearance
| {{{col1}}} | {{{col2}}} | {{{col3}}} | {{{col4}}} | {{{col5}}} | {{{col6}}} | {{{col7}}} | {{{col8}}} | {{{col9}}} | {{{col10}}} |
Template sib tae navbox templates, siclike {{Navbox}}, tae help the makkin o (up tae seiven) columns across a page.
Syntax
[edit soorce]{{columns
|bgcol = <!--Backgrund colo/ur (default none)-->
|colwidth = <!--Width o ilka column (default 15em)-->
|gap = <!--Gap atween ilka column (default 1.25em)-->
|col1width = <!--uise tae set a different width for col1-->
|col1 = <!--mandatory-->
|col2width = <!--uise tae set a different width for col2 (etc)-->
|col2 = <!--mandatory-->
|col3width =
|col3 =
...
|col7width =
|col7 =
}}
Examples
[edit soorce]- Code
{{columns
|col1 = Easiest<br/>creation<br/>o
|col2 = this<br/>template
}}
- Result
|
Easiest creation o |
this template |
- Code
{{columns |bgcol=beige |width=8.5em |gap=3.25em
|col1 =
* These
* columns
* is
* mair
* complex
|col2 =
The<br/>backgrund<br/>is<br/>beige
|col3 =
; Ilka : column
; is : 8.5[[Em (typography)|em]]
; wide
|col4 =
{{{!}}
!colspan="2"{{!}} an
{{!-}}
{{!}} the {{!!}} gap
{{!-}}
{{!}}colspan="2"{{!}} atween
{{!-}}
{{!}} ilka {{!!}} is
{{!-}}
!colspan="2" align="center"{{!}} 3.25em
{{!}}}
}}
- Result
|
The backgrund is beige |
|
|
|||||||||||||