Template:Editnotice load/content: Difference between revisions

From TEPwiki, Urth's Encyclopedia
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)
 
m (4 revisions imported from wikipedia:Template:Editnotice_load/content)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
<!--
Beware: The /content subpage MUST NOT output ANY content or HTML unless one ore more edit notices exist so that
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 20:43, 8 August 2023