Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Plantilla:Button

De ProleWiki, la enciclopedia proletaria
Revisión del 02:09 9 oct 2024 de Ismael (discusión | contribs.) (Página creada con «<templatestyles src="Button/style.css" /> [[{{{link}}}| <div class="tpl-button-{{{align|center}}}" style="margin-top:{{{top|0}}}px; margin-bottom:{{{bottom|0}}}px;"> <div class="tpl-button tpl-button-{{{color|red}}}" style="width:{{{width|20}}}%"> {{{text}}} </div> </div> ]] <noinclude> <templatedata> { "params": { "align": { "description": "Choose left, center or right. Always full-width on mobile. Defaults as center.", "type": "string", "default": "cen…»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)

[[{{{link}}}|

{{{text}}}

]]


Sin descripción.

Parámetros de la plantilla[Editar los datos de la plantilla]

ParámetroDescripciónTipoEstado
alignalign

Choose left, center or right. Always full-width on mobile. Defaults as center.

Predeterminado
center
Cadenaopcional
texttext

The text you want the button to display

Cadenaobligatorio
linklink

The URL where you want the button to link

Cadenaobligatorio
colorcolor

Choose between red, green, blue, or yellow (default: red)

Predeterminado
red
Cadenaopcional
toptop

Create empty space above the button (in pixels, integer only)

Predeterminado
0
Númeroopcional
bottombottom

Create empty space below the button (in pixels, integer only)

Predeterminado
0
Númeroopcional
widthwidth

Specify button width. Expressed in percentage points. Recommended: 20%.

Predeterminado
20
Númeroopcional