Vorlage:Button: Unterschied zwischen den Versionen

Aus Brandwiki
Wechseln zu:Navigation, Suche
imported>Ahoi
Keine Bearbeitungszusammenfassung
imported>Ahoi
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>Add a button with the following syntax:
<noinclude>With this element, you can add a nice button for '''internal links'''.
 
==How to use==
<code><nowiki>{{Button|Link}}</nowiki></code>
 
<code><nowiki>{{Button|Link|Linktext}}</nowiki></code>
<code><nowiki>{{Button|Link|Linktext}}</nowiki></code>


Example:
; Link
<code><nowiki>{{Button|Form:Brand|Add a new brand}}</nowiki></code>
: Simply copy the page name.
; Link text
: Add a link text. If you omit this value, the page name will be used.


==Examples==
<code><nowiki>{{Button|Form:Organisation}}</nowiki></code>
: {{Button|Form:Organisation}}


{{Button|Form:Brand|Add a new brand}}
<code><nowiki>{{Button|Form:Brand|Add a new brand}}</nowiki></code>
: {{Button|Form:Brand|Add a new brand}}


</noinclude><includeonly><span class="bttn">[[{{{1}}}|{{{2}}} &rarr;]]</span>
</noinclude><includeonly><span class="bttn">[[{{{1}}}|{{{2|{{{1}}}}}} &rarr;]]</span>
</includeonly>
</includeonly>

Aktuelle Version vom 13. Mai 2019, 10:57 Uhr

With this element, you can add a nice button for internal links.

How to use[Quelltext bearbeiten]

{{Button|Link}}

{{Button|Link|Linktext}}

Link
Simply copy the page name.
Link text
Add a link text. If you omit this value, the page name will be used.

Examples[Quelltext bearbeiten]

{{Button|Form:Organisation}}

Form:Organisation →


{{Button|Form:Brand|Add a new brand}}

Add a new brand →