Difference between revisions of "Template:Pagelang"

From Deep Blue Robotics Wiki
Jump to: navigation, search
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.)
m
Line 9: Line 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>

Revision as of 05:14, 19 February 2014

{{#ifeq: {{#titleparts:Pagelang||-1}} | {{#titleparts:Pagelang|1}} | | {{#ifeq: {{#titleparts:Pagelang||-1}}

 |    template: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}}
       }}

}}}}}}}}{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}