Vorlage:Button: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
imported>Ahoi
imported>Ahoi
Zeile 13: Zeile 13:
 
Example:
 
Example:
 
<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>
 
  
 
<code><nowiki>{{Button|Form:Organisation}}</nowiki></code>
 
<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>

Version vom 10. Mai 2019, 14:55 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 of the wiki.
Link text
Add a link text. If you omit this value, the page name will be used.

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

Add a new brand →


{{Button|Form:Organisation}}

Form:Organisation →