Template:Editnotice load: Difference between revisions
Content deleted Content added
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. |
m 16 revisions imported from wikipedia:Template:Editnotice_load |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1:
{{#if: {{Editnotice load/content
<div class="editnotice-area" style="clear: both;"><!--▼
| notice
}} | <!--▼
We unfortunately have to call /content twice so that the editnotice-area and clear elements
are only output if there is at least one actual edit notice. This ensures the software can determine
whether or not a page has edit notices (for the API, WikiEditor, VisualEditor and others). And to ensure
MediaWiki:Editnotice-notext gets shown when appropiate.
▲}}<!--
| notice
}}<noinclude>
▲ <div id="editnotice-ns-{{NAMESPACEID}}" class="editnotice-page" style="clear: both; width: 100%;"> {{{{FULLPAGENAME}}/Editnotice| notice action={{{notice action|}}} }} </div>
{{documentation}}
|