Template:Used in system: Difference between revisions

Fix for file namespace
w:en>Pppery
(Pass to category handler to stop bad categorization)
w:en>Pppery
(Fix for file namespace)
Line 12: Line 12:
     | #default =      {{TALKPAGENAME}}
     | #default =      {{TALKPAGENAME}}
   }}|talk page]]}} before implementing them.
   }}|talk page]]}} before implementing them.
}}<includeonly>{{#switch:{{SUBPAGENAME}}|sandbox|doc=|#default={{#switch:{{#invoke:Effective protection level|edit|{{FULLPAGENAME}}}}|sysop|interfaceadmin=|#default={{category handler|[[Category:Pages used in system messages needing protection]]}}}}}}</includeonly><noinclude>
}}<includeonly>{{#switch:{{SUBPAGENAME}}|sandbox|doc=|#default={{#switch:{{#invoke:Effective protection level|{{#switch:{{NAMESPACE}}|File=upload|#default=edit}}|{{FULLPAGENAME}}}}|sysop|interfaceadmin=|#default={{category handler|[[Category:Pages used in system messages needing protection]]}}}}}}</includeonly><noinclude>


{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
Anonymous user