Vorlage:Languages/Title: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
(finally!)
Zeile 1: Zeile 1:
 
<onlyinclude>
 
<onlyinclude>
Parameter 1: {{{1}}}Parameter 2: {{{2}}}
 
 
<!-- check if {{{1}}} (usually SUBPAGENAME) is a languagesubpage as defined at LangSwitch -->
 
<!-- check if {{{1}}} (usually SUBPAGENAME) is a languagesubpage as defined at LangSwitch -->
 
{{#if: {{LangSwitch|{{{1}}}}} | {{LangSwitch|{{{1}}}}} |  
 
{{#if: {{LangSwitch|{{{1}}}}} | {{LangSwitch|{{{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:" -->
   2nd{{#if: {{LangSwitch|{{{2}}}}} | {{LangSwitch|{{{2}}}}} |defaulted}}2ndend
+
   {{#if: {{LangSwitch|{{{2}}}}} | {{LangSwitch|{{{2}}}}} | Deutsch:}}
 
  }}
 
  }}
  

Version vom 12. Januar 2013, 14:29 Uhr

Vorlage:LangSwitch


Documentation

The cases are all poached from here. We can't just transclude that system message, because it includes a $1.