Jump to content

Template:Editnotice load/core: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
Changing to the parameter name "group allowed".
Adding more handling for the hide/show of the create links. This is nasty code...
Line 12: Line 12:
<div class="editnotice-group-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[{{{groupnotice|}}}|view]] </div>
<div class="editnotice-group-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[{{{groupnotice|}}}|view]] </div>
<div class="editnotice-group" style="clear: both;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
<div class="editnotice-group" style="clear: both;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
<div class="editnotice-page-create sysop-show accountcreator-show" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small>[[{{{pagenotice|}}}|Page notice]]</small> </div>
<div class="editnotice-page-create {{#if: {{{userpage|}}} || sysop-show accountcreator-show }}" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; {{#if: {{{userpage|}}} || display: none; }}"> <small>[[{{{pagenotice|}}}|Page notice]]</small> </div>


| page =
| page =
Line 28: Line 28:
<div class="editnotice-group" style="clear: both;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
<div class="editnotice-group" style="clear: both;"> {{ {{{groupnotice|}}} | notice action={{{notice action|}}} }} </div>
<div class="editnotice-page-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[{{{pagenotice|}}}|view]] </div>
<div class="editnotice-page-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; font-size: 88%; line-height: 1em;"> [[{{{pagenotice|}}}|view]] </div>
<div {{#if: {{{userpage|}}} | id="editnotice-ns-{{NAMESPACEID}}" }} class="editnotice-page" style="clear: both;"> {{ {{{pagenotice|}}} | notice action={{{notice action|}}} }} </div>
<div {{#if: {{{userpage|}}}
| id="editnotice-ns-{{NAMESPACEID}}"
}} class="editnotice-page" style="clear: both;"> {{ {{{pagenotice|}}} | notice action={{{notice action|}}} }} </div>


| #default =
| #default =
<!--We have no group and no page notice-->
<!--We have no group and no page notice-->
{{#if: {{{group allowed|}}}
{{#if: {{{group allowed|}}}
| {{#if: {{{userpage|}}}
| <div class="editnotice-group-create editnotice-page-create sysop-show accountcreator-show" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small>[[{{{groupnotice|}}}|Group notice]] &nbsp; [[{{{pagenotice|}}}|Page notice]]</small> </div>
| <div class="editnotice-group-create editnotice-page-create" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small><span class="sysop-show accountcreator-show" style="display: none;">[[{{{groupnotice|}}}|Group notice]] &nbsp;</span> [[{{{pagenotice|}}}|Page notice]]</small> </div>
| <div class="editnotice-group-create editnotice-page-create sysop-show accountcreator-show" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small>[[{{{groupnotice|}}}|Group notice]] &nbsp; [[{{{pagenotice|}}}|Page notice]]</small> </div>
}}
| <div class="editnotice-page-create sysop-show accountcreator-show" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small>[[{{{pagenotice|}}}|Page notice]]</small> </div>
| <div class="editnotice-page-create sysop-show accountcreator-show" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; t_font-size: 88%; line-height: 1em; display: none;"> <small>[[{{{pagenotice|}}}|Page notice]]</small> </div>
}}
}}

Revision as of 23:07, 6 January 2010