Difference between revisions of "Template:Pp-meta"
(missing td class) |
(update per editprotected) |
||
Line 6: | Line 6: | ||
| <!--No smalltext--> | | <!--No smalltext--> | ||
{{#switch: | {{#switch: | ||
− | {{lc:{{#if:{{{demospace|}}} | + | {{lc: <!--Lower case the result--> |
− | + | <!--If no or empty "demospace" parameter then detect namespace--> | |
− | + | {{#if:{{{demospace|}}} | |
− | + | | {{{demospace}}} | |
− | + | | {{#ifeq:x{{NAMESPACE}}|x | |
− | | | + | | main |
+ | | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | ||
+ | | talk | ||
+ | | other | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | | main = <!--"demospace=main" or main (article) space--> | ||
<table class="ambox ambox-protection metadata plainlinks"> | <table class="ambox ambox-protection metadata plainlinks"> | ||
<tr> | <tr> | ||
Line 18: | Line 26: | ||
</table> | </table> | ||
− | | | + | | talk = <!--"demospace=talk" or any talk space--> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<table class="messagebox standard-talk metadata plainlinks"> | <table class="messagebox standard-talk metadata plainlinks"> | ||
<tr> | <tr> | ||
Line 31: | Line 33: | ||
</table> | </table> | ||
− | | #default = <!-- | + | | other |
+ | | #default = <!--"demospace=other" or other space--> | ||
<table class="messagebox protected metadata plainlinks" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> | <table class="messagebox protected metadata plainlinks" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> | ||
<tr> | <tr> | ||
Line 40: | Line 43: | ||
}}<!--End switch--> | }}<!--End switch--> | ||
}}<!--End if smalltext--><includeonly>{{#ifeq:{{{categories|no}}}|no||{{{categories|}}}}}</includeonly><noinclude> | }}<!--End if smalltext--><includeonly>{{#ifeq:{{{categories|no}}}|no||{{{categories|}}}}}</includeonly><noinclude> | ||
− | + | ||
− | {{ | + | {{documentation}} |
− | <!-- Add categories and | + | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
Revision as of 15:58, 22 March 2008
Script error: No such module "documentation".