Modèle:Pagelang

De wikarphy
Version datée du 13 juin 2014 à 17:18 par mw>Verdy p (extract the page lang from a page name in parameter 1 (instead of the current page by default))

{{#ifeq:{{#titleparts:Pagelang||-1}}|{{#titleparts:Pagelang|1}}||{{#ifeq:{{#titleparts:Pagelang||-1}}||{{#ifeq:{{#titleparts:Pagelang||-1}}|%7B%7B%23titleparts%3APagelang%7C%7C-1%7D%7D|{{#ifeq:{{#titleparts:pagelang||-1}}|{{#titleparts:pagelang||-1}}||{{#switch:{{#titleparts:Pagelang||-1}}|doc|layout|sandbox|testcases=|#default={{#titleparts:Pagelang||-1}}}}}}}}}}}}

Documentation du modèle

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}