« Modèle:Pagelang » : différence entre les versions

De wikarphy
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.
mAucun résumé des modifications
Ligne 9 : Ligne 9 :
       | {{ucfirst:{{lc:{{#titleparts:{{PAGENAME}}||-1}}}}}}
       | {{ucfirst:{{lc:{{#titleparts:{{PAGENAME}}||-1}}}}}}
       |
       |
       |               {{#titleparts:{{PAGENAME}}||-1}}
       | {{#switch:    {{#titleparts:{{PAGENAME}}||-1}}
        | doc | layout | sandbox | testcases =
        | #default =  {{#titleparts:{{PAGENAME}}||-1}}
        }}
}}}}}}}}<noinclude>{{Documentation}}</noinclude>
}}}}}}}}<noinclude>{{Documentation}}</noinclude>

Version du 19 février 2014 à 05:14

{{#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}}
     |
     | {{#switch:     {{#titleparts:Pagelang||-1}}
       | doc | layout | sandbox | testcases =
       | #default =   {{#titleparts:Pagelang||-1}}
       }}

}}}}}}}}

Documentation du modèle

{{#if:|

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