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
(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, 16:29 Uhr

  1. WEITERLEITUNG Vorlage:Languages/Switch


Documentation

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