Más acciones
m typo |
Trying to suppress any output if parameter pagename is given and doesn't match the actual pagename |
||
Línea 1: | Línea 1: | ||
<includeonly> | <includeonly> | ||
{{#switch:{{pagename}} | | {{FULLPAGENAME}} = | |||
{{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}{{PROTECTIONLEVEL:create}} | {{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}{{PROTECTIONLEVEL:create}} | ||
|<div class="metadata topicon nopopups" id="protected-icon" style="display:none; {{LangDirSwitch|rtl=left|ltr=right}}:55px;">[[File:{{#if:{{PROTECTIONLEVEL:create}} | |<div class="metadata topicon nopopups" id="protected-icon" style="display:none; {{LangDirSwitch|rtl=left|ltr=right}}:55px;">[[File:{{#if:{{PROTECTIONLEVEL:create}} | ||
Línea 58: | Línea 59: | ||
}}]]</div> | }}]]</div> | ||
|[[Category:Pages with incorrect protection templates]] | |[[Category:Pages with incorrect protection templates]] | ||
}}</includeonly><noinclude> | }}|#default=}}</includeonly><noinclude> | ||
{{template doc}} | {{template doc}} | ||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |