Template:Columns/doc

Frae Wikipedia, the free beuk o knawledge

Template sib tae navbox templates, siclike {{Navbox}}, tae help the makkin o (up tae seiven) columns across a page.

Syntax[eedit 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[eedit soorce]

Code
{{columns
|col1 = Easiest<br/>creation<br/>o
|col2 = this<br/>template
}}
Result



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

See an aw[eedit soorce]