Difference between revisions of "Template:Editnotices/Namespace/User"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Forwarding the "notice action" parameter, in case we decide to also show the namespace notices when "viewing the source" of protected pages.)
imported>Davidgothberg
(Improving the code comment. I had problems understanding it, even though I wrote it...)
Line 1: Line 1:
<!--Load the "You're editing an editnotice" notice for all /Editnotice, /editnotice etc subpages. That notice shows a warning when not spelled /Editnotice and at only one subpages depth.
+
<!--Load the "You're editing an editnotice" notice for all /Editnotice, /editnotice etc subpages. That notice shows a warning when not spelled /Editnotice and when on sub-subpages like User:Example/sub/Editnotice.
 
-->{{#ifeq: {{lc: {{SUBPAGENAME}} }} | editnotice
 
-->{{#ifeq: {{lc: {{SUBPAGENAME}} }} | editnotice
 
| {{ Template:Editnotices/Group/Template:Editnotices | notice action={{{notice action|}}} }}
 
| {{ Template:Editnotices/Group/Template:Editnotices | notice action={{{notice action|}}} }}
 
}}
 
}}

Revision as of 05:46, 14 February 2010