Modelo:Columnas: Diferenzas entre revisións

Contido eliminado Contido engadido
XoseBot (conversa | contribucións)
m Bot : Substitución automatizada de texto (-\[(C|c)ategory(:|: ) +[Categoría:)
Toliño (conversa | contribucións)
Sen resumo de edición
Liña 33:
}}
|}<noinclude>
----
Template in the vein of navbox templates such as {{tl|Navbox generic}} and {{tl|Navigation}} to aid the creation of (up to seven) columns across a page.
 
{{Uso de marcador}}
== Syntax ==
<pre>
{{Columns
| bgcol = <!--Background colo/ur (default none)-->
| width = <!--Width of each column (px; default 120px)-->
| gap = <!--Gap between each column (px; default 15px)-->
| col1 = <!--mandatory-->
| col2 = <!--mandatory-->
| col3 =
| col4 =
| col5 =
| col6 =
| col7 =
}}
</pre>
 
== Examples ==
; Code
<pre>
{{Columns
| col1 = Simplest<br/>instantiation<br/>of
| col2 = this<br/>template
}}
</pre>
 
; Result
{{Columns
| col1 = Simplest<br/>instantiation<br/>of
| col2 = this<br/>template
}}
----
; Code
<pre>
{{Columns
| bgcol = beige
| width = 100px
| gap = 40px
 
| col1 =
* These
* columns
* are
* more
* complex
 
| col2 =
The<br/>background<br/>is<br/>beige
 
| col3 =
; Each : column
; is : 100px
; wide
 
| col4 =
{{{!}}
!colspan="2"{{!}} and
{{!-}}
{{!}} the {{!!}} gap
{{!-}}
{{!}}colspan="2"{{!}} between
{{!-}}
{{!}} each {{!!}} is
{{!-}}
!colspan="2" align="center"{{!}} 40px
{{!}}}
}}
</pre>
 
; Result
{{Columns
| bgcol = beige
| width = 100px
| gap = 40px
 
| col1 =
* These
* columns
* are
* more
* complex
 
| col2 =
The<br/>background<br/>is<br/>beige
 
| col3 =
; Each : column
; is : 100px
; wide
 
| col4 =
{{{!}}
!colspan="2"{{!}} and
{{!-}}
{{!}} the {{!!}} gap
{{!-}}
{{!}}colspan="2"{{!}} between
{{!-}}
{{!}} each {{!!}} is
{{!-}}
!colspan="2" align="center"{{!}} 40px
{{!}}}
}}
 
== See also ==
 
 
 
<!--Categories-->
[[Categoría:Wikipedia special effects templates]]
</noinclude>