Predefinição:Colunas

Origem: Wikipédia, a enciclopédia livre.
Documentação da predefinição[ver] [editar] [histórico] [purgar]

Uso[editar código-fonte]

Predefinição na linha de predefinições ((tl|Navbox)) para a criação de auxílio (até sete) colunas em uma página.

Sintaxe[editar código-fonte]

{{colunas
|bgcol     =       <!--Background colo/ur (default none)-->
|colwidth  =       <!--Largura de cada coluna (por padrão, 15em). Exemplo: 50%-->
|gap       =       <!--Gap between each column (default 1.25em)-->
|col1width =       <!--use to set a different width for col1-->
|col1      =       <!--mandatory-->
|col2width =       <!--use to set a different width for col2 (etc)-->
|col2      =       <!--mandatory-->
|col3width = 
|col3      = 
...
|col7width = 
|col7      = 
}}

Exemplos[editar código-fonte]

Code
{{colunas
|col1 = Simplest<br/>instantiation<br/>of
|col2 = this<br/>template
}}
Resulta


Code
{{colunas |bgcol=beige |width=8.5em |gap=3.25em

|col1 =
* These
* colunas
* are
* more
* complex

|col2 =
The<br/>background<br/>is<br/>beige

|col3 =
; Each : column
; is   : 8.5[[Em (typography)|em]]
; wide

|col4 =
{{{!}}
!colspan="2"{{!}} and
{{!-}}
{{!}} the {{!!}} gap
{{!-}}
{{!}}colspan="2"{{!}} between
{{!-}}
{{!}} each {{!!}} is
{{!-}}
!colspan="2" align="center"{{!}} 3.25em
{{!}}}
}}
Resulta

Ver também[editar código-fonte]