Difference between revisions of "Template:Editnotice load/content"
Jump to navigation
Jump to search
imported>Krinkle (Per Wikipedia talk:Editnotice#Make_use_of_MediaWiki:Editnotice-notext https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Editnotice&oldid=654236751) |
imported>Krinkle (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 21:00, 30 March 2015