Template:Editnotice load/core: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Code clean-up: Nah, javascript can re-create those links if needed, so removing most of the span tags and ids. |
m 23 revisions imported from wikipedia:Template:Editnotice_load/core |
||
(15 intermediate revisions by 6 users not shown) | |||
Line 2:
{{#if: {{{group allowed|}}}
| {{#ifexist: {{{groupnotice|}}}
|
{{ {{{groupnotice|}}} | notice action={{{notice action|}}} }}
| = <!--Notice is blank or only contains "-", don't use it-->
| #default = group
}}▼
}}
}}{{#ifexist: {{{pagenotice|}}}
|
{{ {{{pagenotice|}}} | notice action={{{notice action|}}} }}
| -
| = <!--Notice is blank or only contains "-", don't use it-->
| #default = page
}}
}}
| group =
<!--We have a group notice, but no page notice-->
<div class="editnotice-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[{{{groupnotice|}}}|Group notice]] <span class="editnotice-redlink {{#if: {{{
<div class="editnotice-group" style="clear: both; width: 100%;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
| page =
<!--We have a page notice, but no group notice-->
<div class="editnotice-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>{{#if: {{{group allowed|}}}
| <span class="editnotice-redlink sysop-show
}} [[{{{pagenotice|}}}|Page notice]]</small> </div>
<div {{#if: {{{userpage|}}} | id="editnotice-ns-{{
| grouppage =
<!--We have both a group notice and a page notice-->
<div class="editnotice-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[{{{groupnotice|}}}|Group notice]]</small> </div>
<div class="editnotice-group" style="clear: both; width: 100%;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
<div class="editnotice-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[{{{pagenotice|}}}|Page notice]]</small> </div>
<div {{#if: {{{userpage|}}} | id="editnotice-ns-{{
| #default =
<!-- See [[Template:Editnotice_load/notext]] and [[MediaWiki:Editnotice-notext]] for the display of the red link. This must remain empty. -->
▲ }}
▲ }}
}}<noinclude>
|