Vorlage:Button: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
imported>Ahoi
imported>Ahoi
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 7: Zeile 7:
  
 
; Link
 
; Link
: Simply copy the page name of the wiki.
+
: Simply copy the page name.
 
; Link text
 
; Link text
 
: Add a link text. If you omit this value, the page name will be used.
 
: Add a link text. If you omit this value, the page name will be used.
  
 
==Examples==
 
==Examples==
 +
<code><nowiki>{{Button|Form:Organisation}}</nowiki></code>
 +
: {{Button|Form:Organisation}}
 +
 
<code><nowiki>{{Button|Form:Brand|Add a new brand}}</nowiki></code>
 
<code><nowiki>{{Button|Form:Brand|Add a new brand}}</nowiki></code>
 
: {{Button|Form:Brand|Add a new brand}}
 
: {{Button|Form:Brand|Add a new brand}}
 
<code><nowiki>{{Button|Form:Organisation}}</nowiki></code>
 
: {{Button|Form:Organisation}}
 
  
 
</noinclude><includeonly><span class="bttn">[[{{{1}}}|{{{2|{{{1}}}}}} &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

{{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

{{Button|Form:Organisation}}

Form:Organisation →


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

Add a new brand →