{{#switch:
  {{#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|}}}|Avviso del gruppo]] <span class="editnotice-redlink {{#if: {{{ownuserpage|}}} || sysop-show accountcreator-show }}" style="{{#if: {{{ownuserpage|}}} || display: none; }}">&nbsp; [[{{{pagenotice|}}}|Pagina dell'avviso]]</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 accountcreator-show" style="display: none;">[[{{{groupnotice|}}}|Avviso del gruppo]] &nbsp;</span>
  }} [[{{{pagenotice|}}}|Pagina dell'avviso]]</small> </div>
  <div {{#if: {{{userpage|}}} | id="editnotice-ns-{{NAMESPACEID}}" }} 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|}}}|Avviso del gruppo]]</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|}}}|Pagina dell'aviso]]</small> </div>
  <div {{#if: {{{userpage|}}} | id="editnotice-ns-{{NAMESPACEID}}" }} class="editnotice-page" style="clear: both; width: 100%;"> {{ {{{pagenotice|}}} | notice action={{{notice action|}}} }} </div>

| #default = 
  <!-- See [[MediaWiki:Editnotice-notext]] for the display of the red link. This must remain empty. (T91715, T103693) -->

}}<noinclude>

{{man}}

[[Categoria:Editnotice|{{PAGENAME}}]]

[[en:Template:Editnotice load/core]]
</noinclude>