Template:Which
{{#switch:
|¬={{#if: {{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Which|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Which|0|2}} | subpage | basepage }} }} }}
| basepage =
| subpage = dontcat
| subsubpage = dontcat
}}
| only = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Which|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Which|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Which }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | | {{#invoke:Namespace detect|main}} | {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }}
| {{#invoke:Namespace detect|main}} | }}
}} }}
}}
|SUBST=
}}{{#if:
{{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: no | no = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Which|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Which|0|2}} | subpage | basepage }} }} }}
| basepage =
| subpage = dontcat
| subsubpage = dontcat
}}
| only = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Which|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Which|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Which }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 |{{#if:Category:Articles with specifically marked weasel-worded phrases |[[Category:Articles with specifically marked weasel-worded phrases {{#if: |from }}]]{{#if: |{{#ifexist:Category:Articles with specifically marked weasel-worded phrases from | | }} }} }}{{#if:|}}{{#if: |[[ {{#if: |from }}]]{{#if: |{{#ifexist: from | | }} }} }}{{#if:|}}{{#if: |[[ {{#if: |from }}]]{{#if: |{{#ifexist: from | | }} }} }} | {{#invoke:Namespace detect|main}} | {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }}
| {{#invoke:Namespace detect|main}} | }}
}} }}
}}{{#if:which?
|[{{#if: |{{{pre-text}}} }}which?{{#if: | {{{post-text}}} }}]|
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}