Template:Editnotice load: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (fix whitespace issues) |
(Adding "view" links, and some "clear:both;" so notices can't flow into next section. Forwarding "notice action=view" and don't show namespace-notice when "viewing" a protected page. See talk page.) |
||
Line 1: | Line 1: | ||
<div class="editnotice-area" style="clear: both;"><!-- |
<div class="editnotice-area" style="clear: both;"><!-- |
||
⚫ | |||
-->{{#ifeq: {{{notice action|}}} | view |
|||
| <!--"Viewing the source" of a protected page, don't show namespace notice--> |
|||
⚫ | |||
⚫ | |||
- |
| <div class="editnotice-namespace"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div> |
||
⚫ | |||
⚫ | |||
}}<!-- |
}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}<!-- |
}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| {{BASEPAGENAME}}:::{{ns:User talk}} = |
|||
⚫ | |||
| <div class="editnotice-page-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[{{FULLPAGENAME}}/Editnotice|view]] </div> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{#ifexist: Template:Editnotices/Page/{{FULLPAGENAME}} |
|||
| <div class="editnotice-page-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[Template:Editnotices/Page/{{FULLPAGENAME}}|view]] </div> |
|||
<div class="editnotice-page" style="clear: both;"> {{Template:Editnotices/Page/{{FULLPAGENAME}}| notice action={{{notice action|}}} }} </div> |
|||
}} |
|||
}}<div style="clear: both;"></div> </div><noinclude> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}<!-- |
|||
--></div><noinclude> |
|||
{{pp-template|small=yes}} |
|||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |