Template:Ambox/doc
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
| File:Codex icon book color-base.svg | <translate> This is a documentation [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>Template:Ambox</tvar>.</translate> {{#if: |<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text1}}}</tvar>.</translate>
|<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>Template</tvar> page.</translate>
}} |
}}{{#if: |
| {{#ifexist:Template:Ambox
| [[Category:{{#switch:Template
| Template | Project = Template
| Module = Module
| User = User
| #default = MediaWiki
}} documentation pages{{#translation:}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
}}
}}
|
}}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
| File:Codex icon book color-base.svg | This is a documentation subpage for Template:Ambox. {{#if: |It contains usage information, categories and other content that is not part of the original {{{text1}}}. |It contains usage information, categories and other content that is not part of the original Template page.}} |
}}{{#if: |
| {{#ifexist:Template:Ambox
| [[Category:{{#switch:Template
| Template | Project = Template
| Module = Module
| User = User
| #default = MediaWiki
}} documentation pages{{#translation:}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
}}
}}
|
}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} {{#switch:<translate></translate> | =
| File:OOjs UI icon alert-warning.svg | {{#switch:Template
|Module={{#if:30000
|<translate> This Lua module is used on approximately <tvar name=5>30,000</tvar> pages.</translate>
|<translate> This Lua module is used on many pages.</translate>
}}
|#default={{#if:30000
|<translate> This template is used on approximately <tvar name=5>30,000</tvar> pages.</translate>
|<translate> This template is used on many pages.</translate>
}}
}}
{{#switch:Template |Module=<translate> To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its [[<tvar name=4>{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/sandbox</tvar>|/sandbox]] or [[<tvar name=5>{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/testcases</tvar>|/testcases]] subpages.</translate>
|#default=<translate> To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its [[<tvar name=4>{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/sandbox</tvar>|/sandbox]] or [[<tvar name=5>{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/testcases</tvar>|/testcases]] subpages or in your own [[<tvar name=9>Special:MyLanguage/Help:Subpages#Use of subpages</tvar>|user subpage]].</translate>
}} <translate> The tested changes can then be added to this page in one single edit.</translate> {{#if: |<translate> Please consider discussing any changes at <tvar name=2>[[Template:Trim]]</tvar> before implementing them.</translate> |<translate> Please consider discussing any changes on the [[<tvar name=3>{{#switch:doc|doc|sandbox=Template talk:Ambox|#default=Template talk:Ambox/doc}}</tvar>|talk page]] before implementing them.</translate>}} |
| #default=
{{#switch:
| =
| File:OOjs UI icon alert-warning.svg | {{#switch:Template
|Module={{#if:30000
|This Lua module is used on approximately 30,000 pages.
|This Lua module is used on many pages.
}}
|#default={{#if:30000
|This template is used on approximately 30,000 pages.
|This template is used on many pages.
}}
}}
{{#switch:Template |Module=To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its [[{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/sandbox|/sandbox]] or [[{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/testcases|/testcases]] subpages.
|#default=To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its [[{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/sandbox|/sandbox]] or [[{{#switch:doc|doc|sandbox=Template:Ambox|#default=Template:Ambox/doc}}/testcases|/testcases]] subpages or in your own user subpage.
}} The tested changes can then be added to this page in one single edit. {{#if: |Please consider discussing any changes at [[Template:Trim]] before implementing them. |Please consider discussing any changes on the [[{{#switch:doc|doc|sandbox=Template talk:Ambox|#default=Template talk:Ambox/doc}}|talk page]] before implementing them.}} |
| #default=
Lua error: expandTemplate: template loop detected.
}} }} Lua error: Module:TNT:192: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
This is the {{{{#ifeq:Template:Ambox|
|
}}[[Special:MyLanguage/Template:Ambox|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Ambox/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Ambox
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Ambox
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Ambox
|Ambox
|Template:Ambox
}}
|Template:Ambox
}}
}}}}]]{{#ifeq:Template:Ambox|
|
}}}} or Article message box meta-template.
MobileFrontend will treat this template as a "page issue". If you don't want that to occur, you may use a different message box template (listed here, but basically any template that does not identify itself as an "ambox" is not an issue). See Reading/Web/Projects/Mobile Page Issues.
Parameters
type
The type parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
{{Ambox{{#ifeq:doc|sandbox|/sandbox}}
| nocat = true
| type = speedy
| text = type=speedy — Speedy deletion issues, such as {{{{#ifeq:Template:Speedy|
|
}}[[Special:MyLanguage/Template:speedy|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Speedy/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Speedy
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:speedy
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Speedy
|Speedy
|Template:speedy
}}
|Template:speedy
}}
}}}}]]{{#ifeq:Template:Speedy|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = delete | text = type=delete — Deletion issues, such as {{{{#ifeq:Template:Delete|
|
}}[[Special:MyLanguage/Template:delete|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Delete/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Delete
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:delete
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Delete
|Delete
|Template:delete
}}
|Template:delete
}}
}}}}]]{{#ifeq:Template:Delete|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = content | text = type=content — Content issues, such as {{{{#ifeq:Template:Update|
|
}}[[Special:MyLanguage/Template:Update|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Update/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Update
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Update
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Update
|Update
|Template:Update
}}
|Template:Update
}}
}}}}]]{{#ifeq:Template:Update|
|
}}}} and {{{{#ifeq:Template:Expand|
|
}}[[Special:MyLanguage/Template:Expand|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Expand/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Expand
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Expand
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Expand
|Expand
|Template:Expand
}}
|Template:Expand
}}
}}}}]]{{#ifeq:Template:Expand|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = style | text = type=style — Style issues, such as {{{{#ifeq:Template:Cleanup|
|
}}[[Special:MyLanguage/Template:cleanup|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Cleanup/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Cleanup
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:cleanup
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Cleanup
|Cleanup
|Template:cleanup
}}
|Template:cleanup
}}
}}}}]]{{#ifeq:Template:Cleanup|
|
}}}} and {{{{#ifeq:Template:Documentation needed|
|
}}[[Special:MyLanguage/Template:Documentation needed|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Documentation needed/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Documentation needed
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Documentation needed
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Documentation needed
|Documentation needed
|Template:Documentation needed
}}
|Template:Documentation needed
}}
}}}}]]{{#ifeq:Template:Documentation needed|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = notice | text = type=notice — Notices, such as {{{{#ifeq:Template:Extension exception|
|
}}[[Special:MyLanguage/Template:Extension exception|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Extension exception/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Extension exception
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Extension exception
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Extension exception
|Extension exception
|Template:Extension exception
}}
|Template:Extension exception
}}
}}}}]]{{#ifeq:Template:Extension exception|
|
}}}} and {{{{#ifeq:Template:Translating|
|
}}[[Special:MyLanguage/Template:Translating|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Translating/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Translating
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Translating
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Translating
|Translating
|Template:Translating
}}
|Template:Translating
}}
}}}}]]{{#ifeq:Template:Translating|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = move | text = type=move — Merge, split and transwiki proposals, such as {{{{#ifeq:Template:Merge|
|
}}[[Special:MyLanguage/Template:Merge|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Merge/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Merge
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Merge
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Merge
|Merge
|Template:Merge
}}
|Template:Merge
}}
}}}}]]{{#ifeq:Template:Merge|
|
}}}} and {{{{#ifeq:Template:Move to Commons|
|
}}[[Special:MyLanguage/Template:Move to Commons|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Move to Commons/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Move to Commons
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Move to Commons
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Move to Commons
|Move to Commons
|Template:Move to Commons
}}
|Template:Move to Commons
}}
}}}}]]{{#ifeq:Template:Move to Commons|
|
}}}}. }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = protection | text = type=protection — Protection notices, such as {{{{#ifeq:Template:Pp-cascading|
|
}}[[Special:MyLanguage/Template:Pp-cascading|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Pp-cascading/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Pp-cascading
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Pp-cascading
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Pp-cascading
|Pp-cascading
|Template:Pp-cascading
}}
|Template:Pp-cascading
}}
}}}}]]{{#ifeq:Template:Pp-cascading|
|
}}}} and {{{{#ifeq:Template:Protectedinterface|
|
}}[[Special:MyLanguage/Template:protectedinterface|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Protectedinterface/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Protectedinterface
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:protectedinterface
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Protectedinterface
|Protectedinterface
|Template:protectedinterface
}}
|Template:protectedinterface
}}
}}}}]]{{#ifeq:Template:Protectedinterface|
|
}}}}. }}
If no type parameter is given the template defaults to {{safesubst:#if:|}}{{safesubst:#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}<{{safesubst:#if:|span class="monospaced {{safesubst:#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|nowrap}}"|code {{safesubst:#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|class="nowrap"}}}}>|{{safesubst:#if:type|type=}}notice</{{safesubst:#if:|span|code}}>.
small=left
{{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = speedy | text = type=speedy — Speedy deletion issues, such as {{{{#ifeq:Template:Speedy|
|
}}[[Special:MyLanguage/Template:speedy|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Speedy/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Speedy
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:speedy
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Speedy
|Speedy
|Template:speedy
}}
|Template:speedy
}}
}}}}]]{{#ifeq:Template:Speedy|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = delete | text = type=delete — Deletion issues, such as {{{{#ifeq:Template:Delete|
|
}}[[Special:MyLanguage/Template:delete|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Delete/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Delete
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:delete
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Delete
|Delete
|Template:delete
}}
|Template:delete
}}
}}}}]]{{#ifeq:Template:Delete|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = content | text = type=content — Content issues, such as {{{{#ifeq:Template:Update|
|
}}[[Special:MyLanguage/Template:Update|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Update/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Update
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Update
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Update
|Update
|Template:Update
}}
|Template:Update
}}
}}}}]]{{#ifeq:Template:Update|
|
}}}} and {{{{#ifeq:Template:Expand|
|
}}[[Special:MyLanguage/Template:Expand|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Expand/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Expand
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Expand
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Expand
|Expand
|Template:Expand
}}
|Template:Expand
}}
}}}}]]{{#ifeq:Template:Expand|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = style | text = type=style — Style issues, such as {{{{#ifeq:Template:Cleanup|
|
}}[[Special:MyLanguage/Template:cleanup|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Cleanup/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Cleanup
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:cleanup
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Cleanup
|Cleanup
|Template:cleanup
}}
|Template:cleanup
}}
}}}}]]{{#ifeq:Template:Cleanup|
|
}}}} and {{{{#ifeq:Template:Documentation needed|
|
}}[[Special:MyLanguage/Template:Documentation needed|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Documentation needed/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Documentation needed
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Documentation needed
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Documentation needed
|Documentation needed
|Template:Documentation needed
}}
|Template:Documentation needed
}}
}}}}]]{{#ifeq:Template:Documentation needed|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = notice | text = type=notice — Notices, such as {{{{#ifeq:Template:Extension exception|
|
}}[[Special:MyLanguage/Template:Extension exception|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Extension exception/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Extension exception
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Extension exception
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Extension exception
|Extension exception
|Template:Extension exception
}}
|Template:Extension exception
}}
}}}}]]{{#ifeq:Template:Extension exception|
|
}}}} and {{{{#ifeq:Template:Translating|
|
}}[[Special:MyLanguage/Template:Translating|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Translating/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Translating
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Translating
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Translating
|Translating
|Template:Translating
}}
|Template:Translating
}}
}}}}]]{{#ifeq:Template:Translating|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = move | text = type=move — Merge, split and transwiki proposals, such as {{{{#ifeq:Template:Merge|
|
}}[[Special:MyLanguage/Template:Merge|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Merge/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Merge
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Merge
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Merge
|Merge
|Template:Merge
}}
|Template:Merge
}}
}}}}]]{{#ifeq:Template:Merge|
|
}}}} and {{{{#ifeq:Template:Move to Commons|
|
}}[[Special:MyLanguage/Template:Move to Commons|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Move to Commons/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Move to Commons
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Move to Commons
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Move to Commons
|Move to Commons
|Template:Move to Commons
}}
|Template:Move to Commons
}}
}}}}]]{{#ifeq:Template:Move to Commons|
|
}}}}. | small = left }} {{Ambox{{#ifeq:doc|sandbox|/sandbox}} | nocat = true | type = protection | text = type=protection — Protection notices, such as {{{{#ifeq:Template:Pp-cascading|
|
}}[[Special:MyLanguage/Template:Pp-cascading|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Pp-cascading/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Pp-cascading
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:Pp-cascading
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Pp-cascading
|Pp-cascading
|Template:Pp-cascading
}}
|Template:Pp-cascading
}}
}}}}]]{{#ifeq:Template:Pp-cascading|
|
}}}} and {{{{#ifeq:Template:Protectedinterface|
|
}}[[Special:MyLanguage/Template:protectedinterface|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Template|Template:}}Protectedinterface/Page display title/en
|{{#ifexpr:{{#if:0|1|0}} and 10!=0
|{{#ifeq:en|en
|Protectedinterface
|{{#if:
|{{#ifeq:0|0
|
| String Module Error: Target string is empty
}}
|{{#if:{{ Template:TNTN | nsp = 0 }}
|{{ Template:TNTN | nsp = 0 }}
|Template:protectedinterface
}}
}}
}}
|{{ Template:TNTN }}
}}
|{{#if:0
|{{#if:Protectedinterface
|Protectedinterface
|Template:protectedinterface
}}
|Template:protectedinterface
}}
}}}}]]{{#ifeq:Template:Protectedinterface|
|
}}}}. | small = left }}
See also
Other pages:
- w:Template:Mbox
- w:Wikipedia:Ambox CSS classes — Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- w:Wikipedia:Article message boxes — The style guideline for creating article message boxes.
- w:Wikipedia talk:Article message boxes — For discussion about these matters.
TemplateData
{{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Mbox/TemplateData|{{#ifeq:Template:Ambox/doc|{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Ambox
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
{{#switch:
|=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Mbox/TemplateData|{{#ifeq:Template:Ambox/doc|{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Mbox/TemplateData
| =
{{#ifeq: |
| Template:Mbox/TemplateData
| Mbox/TemplateData
}}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
Ambox
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:ambox/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: expandTemplate: template loop detected.
}} }} <templatedata> { "description": {
"cs": "Toto je specializovaná verze metašablony
| File:OOjs UI icon information-progressive.svg |
nebo “multi namespace message box“.", "en": "This is the specialized version of the
| File:OOjs UI icon information-progressive.svg |
or \"multi-namespace message box\" meta-template.", "pt-br": "Esta é a versão especializada da meta-predefinição
| File:OOjs UI icon information-progressive.svg |
, ou “caixa de mensagem para múltiplos espaços nominais”."
},
"format": "block",
"params": {
"type": {
"label": {
"en": "Type",
"cs": "Typ",
"pt-br": "Tipo"
},
"suggestedvalues": [
"notice",
"style",
"content",
"delete",
"speedy",
"protection",
"move"
],
"type": "string",
"default": "notice",
"suggested": true,
"description": "Adjusts border and background for the appropriate use-case. Default notice is gray with a blue border.",
"autovalue": "notice"
},
"image": {
"label": {
"en": "Image (left)",
"cs": "Obrázek (vlevo)",
"pt-br": "Imagem (esquerda)"
},
"suggestedvalues": [
"none"
],
"default": {
"en": "Depends on the “type” parameter.",
"cs": "Závisí na parametru “type“.",
"pt-br": "Depende do parâmetro “type”."
},
"suggested": true,
"type": "content"
},
"imageright": {
"label": {
"en": "Image (right)",
"cs": "Obrázek (vpravo)",
"pt-br": "Imagem (direita)"
},
"type": "content"
},
"style": {
"label": {
"en": "CSS Style",
"cs": "Styl CSS",
"pt-br": "Estilo CSS"
},
"type": "string"
},
"textstyle": {
"label": {
"en": "Text CSS Style",
"cs": "Textový styl CSS",
"pt-br": "Estilo CSS para o texto"
},
"type": "string"
},
"text": {
"label": {
"en": "Text",
"cs": "Text",
"pt-br": "Texto"
},
"suggested": true,
"type": "content"
},
"small": {
"label": {
"en": "Small?",
"cs": "Malý?",
"pt-br": "Caixa pequena?"
},
"suggestedvalues": [
"",
"left",
"yes",
"1"
],
"default": "0",
"type": "boolean"
},
"smallimage": {
"label": {
"en": "Small Image (left)",
"cs": "Malý obrázek (vlevo)",
"pt-br": "Imagem da caixa pequena (esquerda)"
},
"suggestedvalues": [
"none"
],
"default": "{{{image}}}",
"type": "content"
},
"smallimageright": {
"label": {
"en": "Small Image (right)",
"cs": "Malý obrázek (vpravo)",
"pt-br": "Imagem da caixa pequena (direita)"
},
"suggestedvalues": [
"none"
],
"default": "{{{imageright}}}",
"type": "content"
},
"smalltext": {
"label": {
"en": "Small Text",
"cs": "Malý text",
"pt-br": "Texto da caixa pequena"
},
"default": "{{{text}}}",
"type": "content"
}
}
}
</templatedata>