Template:Editnotice load/core: Difference between revisions

From TEPwiki, Urth's Encyclopedia
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.
Adding detection of blanked notices. (Suggested by User:MSGJ.)
Line 2: Line 2:
{{#if: {{{group allowed|}}}
{{#if: {{{group allowed|}}}
| {{#ifexist: {{{groupnotice|}}}
| {{#ifexist: {{{groupnotice|}}}
| {{#switch: {{ {{{groupnotice|}}} }}
| group
| -
| = <!--Notice is blank or only contains "-", don't use it-->
| #default = group
}}
}}
}}
}}{{#ifexist: {{{pagenotice|}}}
}}{{#ifexist: {{{pagenotice|}}}
| {{#switch: {{ {{{groupnotice|}}} }}
| page
| -
| = <!--Notice is blank or only contains "-", don't use it-->
| #default = page
}}
}}
}}



Revision as of 07:17, 7 January 2010