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>K6ka m (ore → or; affects HTML comment and not actual template) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
| − | Beware: The /content subpage MUST NOT output ANY content or HTML unless one | + | Beware: The /content subpage MUST NOT output ANY content or HTML unless one or more edit notices exist so that |
MediaWiki can determine whether or not to show MediaWiki:Editnotice-notext. Otherwise this will incorrectly | MediaWiki can determine whether or not to show MediaWiki:Editnotice-notext. Otherwise this will incorrectly | ||
cause the software to think the page has an edit notice when in fact it doesn't. | cause the software to think the page has an edit notice when in fact it doesn't. | ||
| 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> }} |
}} | }} | ||
}}<!-- | }}<!-- | ||
Latest revision as of 23:31, 14 March 2019