« Modèle:Pagelang » : différence entre les versions
further check of valid characters in language codes: only [-.0-9A-Z_a-z] are idempotent in URLENCODE, but we already disallowed uppercase letters and underscore: |
m even more restrictive version: only allows lowercase ASCII letters,digits,minus-hyphen or full stop (idempotent if urlencoded), and must start by a letter. |
(Aucune différence)
|
Version du 30 janvier 2014 à 16:56
{{#ifeq: {{#titleparts:Pagelang||-1}} | {{#titleparts:Pagelang|1}} | | {{#ifeq: {{#titleparts:Pagelang||-1}}
| modèle:pagename | {{#ifeq: {{#titleparts:Pagelang||-1}} | %7B%7B%23titleparts%3APagelang%7C%7C-1%7D%7D | {{#ifeq: {{#titleparts:pagelang||-1}} | {{#titleparts:pagelang||-1}} | | {{#titleparts:Pagelang||-1}}
}}}}}}}}
Documentation du modèle
[créer]
{{#if:|
[[Category:Template documentation pages{{#translation:}}]] }}