Difference between revisions of "Template:Main other"
Jump to navigation
Jump to search
(Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ...") |
(Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ...") |
(No difference)
|
Latest revision as of 10:52, 1 April 2015
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }}
| main = | other | #default = }}
{{#ifeq: Main other | sandbox
|
Template:Template sandbox notice
}}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq: | sysop
| {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |semi |autoconfirmed = autoconfirmed |administrator |full |sysop = sysop |undefined = |#default = }} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |semi |autoconfirmed = autoconfirmed |administrator |full |sysop = sysop |undefined = |#default = }} |yes|no }} |pc1 ={{#ifeq: {{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |pc1 = autoconfirmed |undefined = Template:PENDINGCHANGELEVEL |#default = }} |autoconfirmed |yes|no }} |pc2 ={{#ifeq: {{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |pc2 = review |undefined = Template:PENDINGCHANGELEVEL |#default = }} |review |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |semi |autoconfirmed = autoconfirmed |administrator |full |sysop = sysop |undefined = |#default = }} |{{#ifeq:{{#switch: |semi |autoconfirmed = autoconfirmed |administrator |full |sysop = sysop |#default = }} |{{#switch:{{#ifeq:main other/template|main other/template|undefined|{{#ifeq:main other|sandbox|sysop|undefined}}}} |semi |autoconfirmed = autoconfirmed |administrator |full |sysop = sysop |undefined = |#default = }} |no|yes }} |no}}
}}|yes|{{#ifeq:yes|yes| {{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}
| pc1 | pc2 =
Categories:
- Wikipedia pages with incorrect protection templates
- Wikipedia semi-protected templates
- Wikipedia move-protected templates
- Wikipedia protected templates
- Pages with broken file links
- Templates with print versions
- Wikipedia message box parameter needs fixing
- Wikipedia pages with strange ((documentation)) usage