Vorlage:Hilfe/clickbutton: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cowboy (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<onlyinclude><templatestyles src="MediaWiki-Button/styles.css" / ><span {{#if: {{{2|}}} | title="{{{2}}}"| }} class="mw-ui-button {{#switch:{{{mw|}}} |p|pb= mw-ui-progressive" style=" |ps= mw-ui-progressive-subtle" style=" |d= mw-ui-destructive" style=" |ds= mw-ui-destructive-subtle" style=" |i= mw-ui-quiet" style=" |a= mw-ui-inveractive" style=" |s= mw-ui-progressive-active" style=" |#default= mw-ui-quiet" style="}} {{#switch:{{{m…“ |
Cowboy (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<onlyinclude><templatestyles src="MediaWiki-Button/styles.css" / ><span {{#if: {{{2|}}} | title="{{{2}}}"| }} class="mw-ui-button {{#switch:{{{mw|}}} | <onlyinclude><templatestyles src="MediaWiki-Button/styles.css" /><span {{#if: {{{2|}}} | title="{{{2}}}"| }} class="mw-ui-button {{#switch:{{{mw|}}} | ||
|p|pb= mw-ui-progressive" style=" | |p|pb= mw-ui-progressive" style=" | ||
|ps= mw-ui-progressive-subtle" style=" | |ps= mw-ui-progressive-subtle" style=" | ||
Aktuelle Version vom 26. Februar 2025, 13:19 Uhr
Diese kleine „Hilfsvorlage“ fügt auf der zugehörigen Hilfeseite eine kleine Schaltfläche hinzu, die eine klickbare Schaltfläche simuliert.
Parameter
- 1
- Text, bei Datei bitte
|verweis=einfügen - 2
- Tooltip, optionaler Text beim Überfahren mit der Maus
- mw
- Mediawikibutton, normal=Standard=leer (weiß),
aaktive Einblendung eines Dialogfeldespprogressive (blau)pbprogressive (blau mit schwarzer Schrift)psprogressive-subtle (blau/blau)ddestructive (rot)dsdestructive-subtle (rot/rot)iinaktiv (grau)saktiv (dunkelblau)
- ex
1Abmessung der Schaltfläche etwas höher- color
- Textfarbe
blauoderrotfür Standard weiß
Kopiervorlagen
{{Hilfe/clickbutton||color= }}
{{Hilfe/clickbutton||mw= }}
{{Hilfe/clickbutton||ex=1 }}
{{Hilfe/clickbutton|[[Datei:…|16px|alt=|verweis=]]|mw= }}
Varianten
- normal schwarz auf weiß
- normal schwarz auf weiß etwas höher (ex)
- normal schwarz auf weiß
- normal, blau auf weiß
- normal, rot auf weiß
- destruktive, weiß auf rot
- destructive-subtle, rot auf rot mit rotem Rand
- progressive, weiß auf blau
- progressive, weiß auf blau wird im Dunkelmodus zu schwarz auf blau
- progressive-subtle, blau auf blau mit blauem Rand
- inaktiv, weiß auf grau
- etwas höher (ex)
- aktiv, dunkelgrau auf grau
- etwas höher (ex)
- aktiv, weiß auf dunkelblau
- aktiv, weiß auf dunkelblau mit Tooltip: Klein-/Großschreibung beachten
- mit Tooltip: Beispieltext
- etwas höher (ex)