Template:Editnotice load/content: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Per Wikipedia talk:Editnotice#Make_use_of_MediaWiki:Editnotice-notext https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Editnotice&oldid=654236751) |
(Template:Editnotices/Namespace/Main exists unconditionally, only transclude it with the wrapping element if it is non-empty) |
||
Line 9: | Line 9: | ||
| <!--"Viewing the source" of a protected page, don't show namespace notice--> |
| <!--"Viewing the source" of a protected page, don't show namespace notice--> |
||
| {{#ifexist: Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}} |
| {{#ifexist: Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}} |
||
| <div class="editnotice-namespace" style="width: 100%;"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div> |
| {{#if: {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} | <div class="editnotice-namespace" style="width: 100%;"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div> }} |
||
}} |
}} |
||
}}<!-- |
}}<!-- |
Revision as of 16:00, 30 March 2015