Template:Editnotice load: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Load only from Template:Editnotices/Page/... for now) |
m (16 revisions imported from wikipedia:Template:Editnotice_load) |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{Editnotice load/content |
|||
{{#ifexist:Template:Editnotices/Page/{{FULLPAGENAME}}| |
|||
| notice action = {{{notice action|}}} |
|||
<div class="editnotice editnotice-single-page">{{Editnotices/Page/{{FULLPAGENAME}}}}</div> |
|||
}} | <!-- |
|||
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. |
|||
--><div id="editnotice-area" class="editnotice-area mw-parser-output" style="clear: both; width: 100%;">{{Editnotice load/content |
|||
| notice action = {{{notice action|}}} |
|||
}}<div style="clear: both;"></div></div> |
|||
}}<noinclude> |
}}<noinclude> |
||
{{pp-template|small=yes}} |
|||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |