Template:Editnotice load: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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.) |
(Adding "width: 100%;" to the notice divs, so (older?) Internet Explorers won't place the links for the group and page notices wrongly when empty notices.) |
||
Line 4: | Line 4: | ||
| <!--"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"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div> |
| <div class="editnotice-namespace" style="width: 100%;"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div> |
||
}} |
}} |
||
}}<!-- |
}}<!-- |
||
Line 11: | Line 11: | ||
| {{#ifexist: Template:Editnotices/Group/{{FULLROOTPAGENAME}} |
| {{#ifexist: Template:Editnotices/Group/{{FULLROOTPAGENAME}} |
||
| <div class="editnotice-group-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[Template:Editnotices/Group/{{FULLROOTPAGENAME}}|view]] </div> |
| <div class="editnotice-group-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[Template:Editnotices/Group/{{FULLROOTPAGENAME}}|view]] </div> |
||
<div class="editnotice-group" style="clear: both;"> {{Template:Editnotices/Group/{{FULLROOTPAGENAME}}| notice action={{{notice action|}}} }} </div> |
<div class="editnotice-group" style="clear: both; width: 100%;"> {{Template:Editnotices/Group/{{FULLROOTPAGENAME}}| notice action={{{notice action|}}} }} </div> |
||
}} |
}} |
||
}}<!-- |
}}<!-- |
||
Line 21: | Line 21: | ||
{{#ifexist: {{FULLPAGENAME}}/Editnotice |
{{#ifexist: {{FULLPAGENAME}}/Editnotice |
||
| <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> |
| <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> |
||
<div id="editnotice-ns-{{NAMESPACEID}}" class="editnotice-page" style="clear: both;"> {{{{FULLPAGENAME}}/Editnotice| notice action={{{notice action|}}} }} </div> |
<div id="editnotice-ns-{{NAMESPACEID}}" class="editnotice-page" style="clear: both; width: 100%;"> {{{{FULLPAGENAME}}/Editnotice| notice action={{{notice action|}}} }} </div> |
||
}} |
}} |
||
| #default = |
| #default = |
||
{{#ifexist: Template:Editnotices/Page/{{FULLPAGENAME}} |
{{#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-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 class="editnotice-page" style="clear: both; width: 100%;"> {{Template:Editnotices/Page/{{FULLPAGENAME}}| notice action={{{notice action|}}} }} </div> |
||
}} |
}} |
||
}}<div style="clear: both;"></div> </div><noinclude> |
}}<div style="clear: both;"></div> </div><noinclude> |