Difference between revisions of "Template:Pp-meta"
(making namespace switch case-insensitive) |
|||
Line 6: | Line 6: | ||
| <!--No smalltext--> | | <!--No smalltext--> | ||
{{#switch: | {{#switch: | ||
− | {{#if:{{{demospace|}}} | + | {{lc:{{#if:{{{demospace|}}} |
| {{{demospace}}} | | {{{demospace}}} | ||
| X{{NAMESPACE}} | | X{{NAMESPACE}} | ||
− | }} | + | }}}} |
− | | | + | | main |
− | | | + | | x = <!--Main (article) space--> |
<table class="ambox ambox-protection metadata plainlinks"> | <table class="ambox ambox-protection metadata plainlinks"> | ||
<tr> | <tr> | ||
Line 18: | Line 18: | ||
</table> | </table> | ||
− | | | + | | talk |
− | | | + | | xtalk |
− | | | + | | xuser talk |
− | | | + | | ximage talk |
− | | | + | | xtemplate talk |
− | | | + | | xhelp talk |
− | | | + | | xcategory talk = <!--Any talk space--> |
<table class="messagebox standard-talk metadata plainlinks"> | <table class="messagebox standard-talk metadata plainlinks"> | ||
<tr> | <tr> |