Menü aufrufen
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

Vorlage:Button

Aus ProleWiki
Version vom 4. November 2024, 08:27 Uhr von Jaiden (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<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": "st…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

[[{{{link}}}|

{{{text}}}

]]


Keine Beschreibung.

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
alignalign

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

Standard
center
Mehrzeiliger Textoptional
texttext

The text you want the button to display

Mehrzeiliger Texterforderlich
linklink

The URL where you want the button to link

Mehrzeiliger Texterforderlich
colorcolor

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

Standard
red
Mehrzeiliger Textoptional
toptop

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

Standard
0
Zahlenwertoptional
bottombottom

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

Standard
0
Zahlenwertoptional
widthwidth

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

Standard
20
Zahlenwertoptional