Ardapedia wird von Menschen wie Dir gemacht. Erstelle jetzt Dein kostenloses Benutzerkonto und trage dazu bei, unser Wiki zu verbessern.
Vorlage:Button: Unterschied zwischen den Versionen
Aus Ardapedia
Alboin (Diskussion | Beiträge) K tg zu ardapedia |
Alboin (Diskussion | Beiträge) K An die deutsche Sprache angepasst |
||
| Zeile 2: | Zeile 2: | ||
@param {string} class HTML class for the button | @param {string} class HTML class for the button | ||
@param {string} icon File name of the icon | @param {string} icon File name of the icon | ||
@param {string} label | @param {string} label text for the button | ||
@param {string} page | @param {string} page text name to be link | ||
@param {string} type Type of button | @param {string} type Type of button | ||
@param {string} url URL to be linked | @param {string} url URL to be linked | ||
| Zeile 10: | Zeile 10: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
--><div class="ardapedia-button {{#if:{{{type|}}}|ardapedia-button--{{{type}}}}} {{#if:{{{url|}}}|plainlinks}} {{#if:{{{class|}}}|{{{class}}}}}"><!-- | --><div class="ardapedia-button {{#if:{{{type|}}}|ardapedia-button--{{{type}}}}} {{#if:{{{url|}}}|plainlinks}} {{#if:{{{class|}}}|{{{class}}}}}"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{seite|}}}|<!-- | ||
-->[[{{{ | -->[[{{{seite}}}|{{#if:{{{icon|}}}|<span class="ardapedia-button-icon">[[File:{{{icon}}}|{{#ifeq:{{{type|}}}|icon|24px|18px}}|class=metadata|link=]]</span>}}{{{text|{{{seite}}}}}}]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{url|}}}|<!-- | -->{{#if:{{{url|}}}|<!-- | ||
-->[{{{url}}} {{#if:{{{icon|}}}|<span class="ardapedia-button-icon">[[File:{{{icon}}}|{{#ifeq:{{{type|}}}|icon|24px|18px}}|class=metadata|link=]]</span>}}{{{ | -->[{{{url}}} {{#if:{{{icon|}}}|<span class="ardapedia-button-icon">[[File:{{{icon}}}|{{#ifeq:{{{type|}}}|icon|24px|18px}}|class=metadata|link=]]</span>}}{{{text}}}]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Version vom 6. Dezember 2025, 15:27 Uhr
| Die Dokumentation für diese Vorlage ist auf der Diskussionsseite zu finden.
Fragen zum Zweck und zur Verwendungsweise sollten dort gestellt werden. Allgemeine Hinweise zur Erstellung und Benutzung von Vorlagen sind unter Ardapedia:Vorlagen erreichbar. |
