Difference between revisions of "Modèle:DefLang"

From Medfilm
Jump to: navigation, search
Line 1: Line 1:
{{#ifexist:{{{1|}}}
+
<!--
  |{{{1|}}}
+
{{#ifexist:{{{1|}}}/{{int:lang}}
  |{{#ifexist:{{{1|}}}/{{int:lang}}
+
  |{{{{{1|}}}/{{int:lang}}}}
    |{{{{{1|}}}/{{int:lang}}}}
+
  |{{#ifeq:{{#titleparts:{{{1|}}}|1|-1}}|fr
    |{{#ifeq:{{#titleparts:{{{1|}}}|1|-1}}|fr
+
    |{{#titleparts:{{{1|}}}|1}}
      |{{#titleparts:{{{1|}}}|1}}
+
    |{{#ifexist:{{#titleparts:{{{1|}}}|1}}/en
      |{{#ifexist:{{#titleparts:{{{1|}}}|1}}/en
+
        |{{#titleparts:{{{1|}}}|1}}/en
          |{{#titleparts:{{{1|}}}|1}}/en
+
        |{{#titleparts:{{{1|}}}|1}}
          |{{#titleparts:{{{1|}}}|1}}
+
      }}
        }}
+
    }}
+
 
   }}
 
   }}
}}
+
}}
 +
-->
 +
{{#ifexist:{{{1|}}}/{{int:lang}}
 +
  |{{{{{1|}}}/{{int:lang}}}}
 +
  |{{#switch:"{{#titleparts:{{{1|}}}|1|-1}}"
 +
    | ""  = toto
 +
    | "fr" = {{#titleparts:{{{1|}}}|1}}
 +
    | {{#ifexist:{{#titleparts:{{{1|}}}|1}}/en
 +
        |{{#titleparts:{{{1|}}}|1}}/en
 +
        |{{#titleparts:{{{1|}}}|1}}
 +
      }}
 +
  }}
 +
}}

Revision as of 09:16, 6 October 2015

toto