Vorlage:Languages/Title: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
 
<onlyinclude>
 
<onlyinclude>
<!-- check if {{{1}}} (usually SUBPAGENAME) is a languagesubpage as defined at LangSwitch -->
+
<!-- check if {{{1}}} (usually SUBPAGENAME) is a languagesubpage as defined at Languages/Switch-->
{{#if: {{LangSwitch|{{{1}}}}} | {{LangSwitch|{{{1}}}}} |  
+
{{#if: {{Languages/Switch|{{{1}}}}} | {{Languages/Switch|{{{1}}}}} |  
 
   <!-- if that didn't work out, try using {{{2}}} (usually the parameter used to call {{Language}}) and default to "Deutsch:" -->
 
   <!-- if that didn't work out, try using {{{2}}} (usually the parameter used to call {{Language}}) and default to "Deutsch:" -->
   {{#if: {{LangSwitch|{{{2}}}}} | {{LangSwitch|{{{2}}}}} | Deutsch:}}
+
   {{#if: {{Languages/Switch|{{{2}}}}} | {{Languages/Switch|{{{2}}}}} | Deutsch:}}
 
  }}
 
  }}
 
</onlyinclude>
 
</onlyinclude>
 
== Documentation ==
 
The cases are all poached from [http://translatewiki.net/w/i.php?title=Special:Translations/loginlanguagelabel&namespace=8 here]. We can't just transclude that system message, because it includes a <tt>$1</tt>.
 

Version vom 12. Januar 2013, 16:32 Uhr

Vorlage:Languages/Switch