Difference between revisions of "Template:LanguageButtons"

From Hackerspace ACKspace
Jump to: navigation, search
(create language buttons template)
 
m (Deutsche Sprache Knopf hinzugefügt (kann gar überhaupt kein Deutsch reden))
Line 1: Line 1:
 
<includeonly><div class="tabs">[{{fullurl:{{PAGENAME}}|uselang=en}} EN]
 
<includeonly><div class="tabs">[{{fullurl:{{PAGENAME}}|uselang=en}} EN]
[{{fullurl:{{PAGENAME}}|uselang=nl}} NL]</div></includeonly>
+
[{{fullurl:{{PAGENAME}}|uselang=nl}} NL]
 +
[{{fullurl:{{PAGENAME}}|uselang=de}} DE]</div></includeonly>
 
<noinclude>Adds language links that allows switching a pages language.
 
<noinclude>Adds language links that allows switching a pages language.
 
Use it in conjunction with divs that have the <code>class="lang"</code> and <code>lang="2 CHARACTER LANGUAGE ID"</code> to toggle its visibility.
 
Use it in conjunction with divs that have the <code>class="lang"</code> and <code>lang="2 CHARACTER LANGUAGE ID"</code> to toggle its visibility.
  
 
Usage: <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code>[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>
 
Usage: <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code>[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:21, 27 March 2018

Adds language links that allows switching a pages language. Use it in conjunction with divs that have the class="lang" and lang="2 CHARACTER LANGUAGE ID" to toggle its visibility.

Usage: {{LanguageButtons}}