Template:Category handler
{{#if:
{{#ifeq: | true
| dontcat
}}{{#ifeq: | no
| dontcat
}}{{#switch: ¬
| yes
| ¬ =
| #default = dontcat
}}{{#switch:
| no =
Template:Basepage subpage
| only =
Template:Basepage subpage
}}
| |
{{#switch:
{{#ifeq: | false
|
| {{#ifeq: | yes
|
| {{#ifeq: | yes
|
| {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Category handler }}|0|2}}
|
|
}}
}}
}}
}}
}}
| hide =
| #default =
{{#ifeq: h0#384!5nea+w9 | h0#384!5nea+w9
|
{{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | other | #default =
}}
|
{{#iferror: {{#expr: 1 + {{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | other | #default =
}} }} | {{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | other | #default =
}} | }}
}} }}
}} {{#ifeq: Category handler | sandbox |
Template:Template sandbox notice }}{{documentation/start box{{#if: |/}} | preload = | heading = ¬ | heading-style = | content =
| docpage =
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc
}}
| doc exist =
{{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc
}} | yes }}
}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc|1|0}} | 0000 | 0100 | 0010 | 0101 = | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }} | 0110 | 0111 = {{ }} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = }}
{{#if:
{{#ifeq: | off
|
| {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc
}}
| yes
}}{{
#switch: Template
| User
| Module
| Template = yes
}}
}}
|
{{#ifeq:none|none | | }} {{#if: |}}
{{#if:none
| none
| [[File:{{#switch:
| warning = Cmbox deletion.png
| editnotice = Imbox notice.png
| system
| #default = Imbox notice.png
}}|40x40px|link=|alt=]]
}} | {{#if:
|
| {{#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }}
| yes
}}
|
The above documentation is transcluded from [[{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }}]]. ([{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }}|action=history}} history]) }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this Scribunto module }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/sandbox | [[{{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/sandbox | action=edit&preload=Template:Documentation/preload-{{#ifeq: Template|Module|module-}}sandbox }} create] | [{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/sandbox | action=edit&preload=Template%3A%7B%7B%23switch%3A+Category+handler%0A%7C+sandbox%0A%7C+testcases+%3D+Category+handler%0A%7C+%23default+%3D+Category+handler%0A%7D%7D&summary=Create+sandbox+version+of+%5B%5BTemplate%3A%7B%7B%23switch%3A+Category+handler%0A%7C+sandbox%0A%7C+testcases+%3D+Category+handler%0A%7C+%23default+%3D+Category+handler%0A%7D%7D%5D%5D }} mirror]) }} and {{
#ifexist: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/testcases | [[{{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/testcases | action=edit&preload=Template:Documentation/preload-{{#ifeq: Template|Module|module-}}testcases }} create]) }} pages. }}:{{#switch: Category handler | sandbox | testcases = Category handler | #default = Category handler }}/doc }}|/doc]] subpage.
}}{{#switch: Template
| File =
| Module = [[Special:PrefixIndex/Template:{{#switch: Category handler
| sandbox | testcases = Category handler | #default = Category handler }}/|Subpages of this module]]. | Template = [[Special:PrefixIndex/Template:{{#switch: Category handler
| sandbox | testcases = Category handler | #default = Category handler }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: Category handler
| sandbox | testcases = Category handler | #default = Category handler }}/|Subpages of this page]]. }}
}}{{#ifexist:Template:Category handler/Print
|
}} | {{{imageright}}} |
{{#switch:
| | warning | editnotice | system =
| #default =
}} }}{{#if:
{{#switch: Category handler
| doc
| testcases = strange
}}
|
}}