Template:Editnotice load/core and Template:Editnotice load/core/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (1 revision imported)
 
(Sandbox is empty.)
Tag: Replaced
 
Line 1: Line 1:
{{#switch:
Sandbox is empty.
  {{#if: {{{group allowed|}}}
  | {{#ifexist: {{{groupnotice|}}}
    | {{#switch:
        {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }}
      | -
      |  =  <!--Notice is blank or only contains "-", don't use it-->
      | #default = group
      }}
    }}
  }}{{#ifexist: {{{pagenotice|}}}
  | {{#switch:
      {{ {{{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: {{{ownuserpage|}}} || sysop-show templateeditor-show extendedmover-show }}" style="{{#if: {{{ownuserpage|}}} || display: none; }}">&nbsp; [[{{{pagenotice|}}}|Page notice]]</span></small> </div>
  <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 templateeditor-show extendedmover-show" style="display: none;">[[{{{groupnotice|}}}|Group notice]] &nbsp;</span>
  }} [[{{{pagenotice|}}}|Page notice]]</small> </div>
  <div {{#if: {{{userpage|}}} | id="editnotice-ns-{{NAMESPACENUMBER}}" }} class="editnotice-page" style="clear: both; width: 100%;"> {{ {{{pagenotice|}}} | notice action={{{notice action|}}} }} </div>
 
| 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-{{NAMESPACENUMBER}}" }} class="editnotice-page" style="clear: both; width: 100%;"> {{ {{{pagenotice|}}} | notice action={{{notice action|}}} }} </div>
 
| #default =
  <!-- See [[Template:Editnotice_load/notext]] and [[MediaWiki:Editnotice-notext]] for the display of the red link. This must remain empty. -->
}}<noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>