« Modèle:Pagelang » : différence entre les versions
mAucun résumé des modifications |
detect and avoid the fatal server error caused when #language is used with "language codes" containing single quotes; this template could return a subpagename with apostrophe-quote, which is not a valid language code anyway |
(Aucune différence)
|
Version du 30 janvier 2014 à 12:04
{{#switch: {{#titleparts:Pagelang||-1}} | {{#titleparts:Pagelang|1}} = | #default = {{#ifeq: {{#titleparts:Pagelang||-1}}
| Modèle:PAGENAME | {{#titleparts:Pagelang||-1}}
}}}}
Documentation du modèle
[créer]
{{#if:|
[[Category:Template documentation pages{{#translation:}}]] }}