Template:Mbox templates see also
There are several meta-templates in the mbox family:
- {{ambox}} – For article message boxes.
- {{cmbox}} – For category message boxes.
- {{imbox}} – For file (image) page message boxes.
- {{mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
- {{ombox}} – For other pages message boxes.
- {{tmbox}} – For talk page message boxes.
Closely related meta-templates:
- {{asbox}} – For article stub message boxes.
- {{dmbox}} – For disambiguation and set index message boxes.
- {{fmbox}} – For header and footer message boxes.
{{#ifeq: Mbox templates see also | sandbox
|1 |0 }} |{{#ifeq:|yes|
| |
{{#if:{{#if:| {{{smallimage}}} | }} | {{#if:| {{{smallimage}}} | }} | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:yes|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
{{#if:| {{{smalltext}}} | This is the template sandbox page for {{#if:|[[]]|Template:Mbox templates see also}}{{#if:435
| ([https://www.comunica.biz/mediawiki-1.18.0/index.php?title=Speciale:ComparePages&page1={{#if:%7C{{#ifeq:%7C | | }}|Template:Mbox_templates_see_also}}&page2=Template:Mbox_templates_see_also diff]) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} }} |
{{#if:{{#if: | {{{smallimageright}}} | }}
| {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none
|
| {{#if: | {{{smallimageright}}} | }} |
| | speedy | delete | content | style | move | protection | notice =
| #default =}}
|| |
{{#if: | | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
This is the template sandbox page for {{#if:|[[]]|Template:Mbox templates see also}}{{#if:435
| ([https://www.comunica.biz/mediawiki-1.18.0/index.php?title=Speciale:ComparePages&page1={{#if:%7C{{#ifeq:%7C | | }}|Template:Mbox_templates_see_also}}&page2=Template:Mbox_templates_see_also diff]) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} |
{{#if:
| {{#ifeq:|none
|
|
| | speedy | delete | content | style | move | protection | notice =
| #default =}} }}{{#ifeq:mbox templates see also|testcases
| | }} |
}} }}{{#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:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |{{#ifeq:{{#switch: |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |#default=}} |{{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |no|yes }} |no}}
}}|yes|{{#ifeq:yes|yes|
| {{
{{#switch: {{#if: | | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|discussioni template | talk | template }} }} }}
| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox
}} | type = protection | image = [[Image:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=Padlock.svg |semi=Padlock-silver.svg |move=Padlock-olive.svg |indef=Padlock-red.svg |office=Padlock-black.svg |create=Padlock-skyblue.svg |#default=Transparent.gif
}}|40px|This {{#ifeq:Template|File|image, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi-protected from editing |move=move-protected |administrator |full |sysop |#default=protected from editing}} to prevent vandalism.]]
| imageright = | class = | style = | textstyle = | text = This {{#switch:Template
|File=image, used in one or more high-risk templates{{#switch: |semi |autoconfirmed= |administrator |full |sysop= and/or system messages, |#default=}} |#default=high-risk template
}} has been {{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi- |move=move- |administrator |full |sysop |#default=}}protected{{#ifeq:-|-sysop|| from editing}} to prevent vandalism. {{#switch:
|semi |autoconfirmed= |administrator |full |sysop |#default={{#switch:Template|File=
Do not move this image to Wikimedia Commons.}}}}
{{#ifeq:no|yes|This protection is not an endorsement of the {{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|current title|current version}}.}} See the protection policy and protection log for more details. {{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full|indef=Please discuss any changes on the [[Discussioni template:Mbox templates see also#{{#if:|{{{section}}}|top}}|talk page]]; you may use the{{{{#if:|subst:}}editprotected{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} template to ask an administrator to make an edit if it is supported by consensus. {{#ifeq:Template|MediaWiki||You may also request that this page be unprotected.}}
|semi=If you cannot edit this {{#ifeq:Discussioni template|Template|talk page|
{{#switch:Template
| = article |File = file |Template = template |Categoria = category |#default = page}}}} and you wish to make a change, you can {{#ifeq:Template|Discussioni template||request an edit, discuss changes on the talk page,}} request unprotection, log in, or create an account. |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the talk page or at Wikipedia:Requested moves. You can also request that the page be unprotected. |office=If you can edit this page, please discuss all changes and additions on the talk page first. Do not remove protection from this page unless you are authorized by the Wikimedia Foundation to do so. |create=Please see the {{#if:|[[{{{xfd}}}|deletion discussion]] or the}} deletion log for details of why this page was deleted. If you would like to create a page at this title, you must first request for it to be unprotected, or contact the administrator who deleted the page for the deleted material to be restored. If unsuccessful, you can use deletion review.
}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = Pp-meta }} }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:template|file|[[category:{{#switch: |semi |autoconfirmed=semi-protected |administrator |full |sysop |#default=protected}} images|mbox templates see also]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch: |semi |autoconfirmed=Semi-protected |administrator |full |sysop |#default=Protected}} images|Mbox templates see also]]}}}} | {{#if: | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |{{#ifeq:{{#switch: |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |#default=}} |{{#switch:{{#ifeq:mbox templates see also/template|mbox templates see also/template|undefined|{{#ifeq:mbox templates see also|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |no|yes }} |no}}
}}|yes|{{#ifeq:yes|yes|
| {{
{{#switch: {{#if: | | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|discussioni template | talk | template }} }} }}
| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox
}} | type = protection | image = [[Image:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=Padlock.svg |semi=Padlock-silver.svg |move=Padlock-olive.svg |indef=Padlock-red.svg |office=Padlock-black.svg |create=Padlock-skyblue.svg |#default=Transparent.gif
}}|40px|This {{#ifeq:Template|File|image, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi-protected from editing |move=move-protected |administrator |full |sysop |#default=protected from editing}} to prevent vandalism.]]
| imageright = | class = | style = | textstyle = | text = This {{#switch:Template
|File=image, used in one or more high-risk templates{{#switch: |semi |autoconfirmed= |administrator |full |sysop= and/or system messages, |#default=}} |#default=high-risk template
}} has been {{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi- |move=move- |administrator |full |sysop |#default=}}protected{{#ifeq:-|-sysop|| from editing}} to prevent vandalism. {{#switch:
|semi |autoconfirmed= |administrator |full |sysop |#default={{#switch:Template|File=
Do not move this image to Wikimedia Commons.}}}}
{{#ifeq:no|yes|This protection is not an endorsement of the {{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|current title|current version}}.}} See the protection policy and protection log for more details. {{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full|indef=Please discuss any changes on the [[Discussioni template:Mbox templates see also#{{#if:|{{{section}}}|top}}|talk page]]; you may use the{{{{#if:|subst:}}editprotected{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} template to ask an administrator to make an edit if it is supported by consensus. {{#ifeq:Template|MediaWiki||You may also request that this page be unprotected.}}
|semi=If you cannot edit this {{#ifeq:Discussioni template|Template|talk page|
{{#switch:Template
| = article |File = file |Template = template |Categoria = category |#default = page}}}} and you wish to make a change, you can {{#ifeq:Template|Discussioni template||request an edit, discuss changes on the talk page,}} request unprotection, log in, or create an account. |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the talk page or at Wikipedia:Requested moves. You can also request that the page be unprotected. |office=If you can edit this page, please discuss all changes and additions on the talk page first. Do not remove protection from this page unless you are authorized by the Wikimedia Foundation to do so. |create=Please see the {{#if:|[[{{{xfd}}}|deletion discussion]] or the}} deletion log for details of why this page was deleted. If you would like to create a page at this title, you must first request for it to be unprotected, or contact the administrator who deleted the page for the deleted material to be restored. If unsuccessful, you can use deletion review.
}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = Pp-meta }} }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:template|file|[[category:{{#switch: |semi |autoconfirmed=semi-protected |administrator |full |sysop |#default=protected}} images|mbox templates see also]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch: |semi |autoconfirmed=Semi-protected |administrator |full |sysop |#default=Protected}} images|Mbox templates see also]]}}}} | }} }}
| other | #default =
}}|
| #if:
|
|
{{
#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Categoria = Discussioni template
| #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc
}} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc
}}|action=edit}} edit]] [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc
}}|action=history}} history]] [
]
|
[[{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Categoria = Discussioni template
| #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc
}}| action=edit&preload={{
#if:
|
| {{#ifeq: Template | File
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} }} create]]
}}
}} {{#switch: ¬
| ¬ =
{{#switch: Template
| Template = Template documentation
| File = Summary
| #default = Documentation
}}
| #default =
¬
}}}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Categoria = Discussioni template | #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Categoria = Discussioni template | #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template
}}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc
}} | yes }}{{ #switch: Template | Utente | Template = yes }} }}|
{{#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 | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }} | yes }} | The above documentation is transcluded from [[{{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }}]]. ([{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }}|action=history}} history]) }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/sandbox | [[{{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/sandbox | action=edit&preload=Template:Documentation/preload-sandbox }} create] | [{{fullurl: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/sandbox | action=edit&preload=Template%3A%7B%7B%23switch%3A+Mbox+templates+see+also%0A%7C+sandbox%0A%7C+testcases+%3D+Mbox+templates+see+also%0A%7C+%23default+%3D+Mbox+templates+see+also%0A%7D%7D&summary=Create+sandbox+version+of+%5B%5BTemplate%3A%7B%7B%23switch%3A+Mbox+templates+see+also%0A%7C+sandbox%0A%7C+testcases+%3D+Mbox+templates+see+also%0A%7C+%23default+%3D+Mbox+templates+see+also%0A%7D%7D%5D%5D }} mirror]) }} and {{ #ifexist: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/testcases | [[{{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template | | File | MediaWiki | Categoria = Discussioni template | #default = Template }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/testcases | action=edit&preload=Template:Documentation/preload-testcases }} create]) }} pages. }}:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/doc }}|/doc]] subpage. }}{{#switch: Template | File = | Template = [[Special:PrefixIndex/Template:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: Mbox templates see also | sandbox | testcases = Mbox templates see also | #default = Mbox templates see also }}/|Subpages of this page]]. }} }}{{#ifexist:Template:Mbox templates see also/Print |</br>A print version of this template exists at /Print. If you make a change to this template, please update the print version as well.}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =}} }}{{#if:
{{#switch: Mbox templates see also | doc | testcases = strange }}
|
}}