Difference between revisions of "Template:Dmbox"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
| disambig <!-- disambig = default --> | | disambig <!-- disambig = default --> | ||
| #default = dmbox-disambig | | #default = dmbox-disambig | ||
}} {{{class|}}}" style="{{{style|}}}"> | }} {{{class|}}}" style="{{{style|}}}" role="presentation"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none |
Latest revision as of 16:45, 25 September 2013
{{#ifeq:|none
|
|
}}
{{#if:
|}}
{{#if:
| {{{image}}} | [[File:{{#switch: | setindex = List gray.svg | disambig | #default = Disambig gray.svg }}|30px|alt=Disambiguation icon]]}} | {{{text}}} | {{{imageright}}} |
{{#switch:
| | disambig | setindex =
| #default =
This message box is using an invalid "type=" parameter and needs fixing.
}}{{#ifeq:|disambig|__DISAMBIG__|}}{{#switch: | setindex =
{{#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:Dmbox|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Dmbox|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:Dmbox|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Dmbox|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Dmbox }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | | {{#invoke:Namespace detect|main}} | {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }}
| {{#invoke:Namespace detect|main}} | }}
}} }}
}} | disambig | #default =
{{#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:Dmbox|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Dmbox|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:Dmbox|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Dmbox|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Dmbox }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | | {{#invoke:Namespace detect|main}} | {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }}
| {{#invoke:Namespace detect|main}} | }}
}} }}
}} }}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}