Message box/doc: Difference between revisions
From Convention Master Documentation
< Module:Message boxDocumentation>WOSlinker |
Silvershock (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:01, 18 December 2022
{{#ifeq:doc|doc||{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
File:OOjs UI icon book-ltr.svg | <translate> This is a documentation [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>Module:Message box</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>Module</tvar> page.</translate>}} |
}}{{#if: | | {{#ifexist:Module:Message box | [[Category:{{#switch:Module | 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:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
|
File:OOjs UI icon book-ltr.svg | This is a documentation subpage for Module:Message box. {{#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 Module page.}} |
}}{{#if: | | {{#ifexist:Module:Message box | [[Category:{{#switch:Module | 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.
}} }}}}<languages />{{#switch:<translate></translate> | =
{{#switch:<translate></translate> | =
File:OOjs UI icon notice-warning.svg | <translate> This <tvar |
| #default=
{{#switch:
| =
File:OOjs UI icon notice-warning.svg | This module is used {{#if:|{{{1}}}|in system messages}}. Changes to it can cause immediate changes to the MediaWiki user interface. To avoid large-scale disruption, any changes should first be tested in this module's [[{{#switch: doc | doc | sandbox = Module:Message box | #default = Module:Message box/doc }}/sandbox|/sandbox]] or [[{{#switch: doc | doc | sandbox = Module:Message box | #default = Module:Message box/doc }}/testcases|/testcases]] subpage, or in your own user space.The tested changes can then be added in one single edit to this module. Please discuss any changes {{#if:|at [[{{{2}}}]]|on the [[{{#switch: doc | doc | sandbox = Module talk:Message box | #default = Module talk:Message box/doc}}|talk page]]}} before implementing them. |
| #default=
Lua error: expandTemplate: template loop detected.
}} }} {{#switch:
{{#if: | | {{#ifeq:Module|Module | module | other }} }}
| module =
{{#switch: r
| pre-alpha | prealpha | pa = File:OOjs UI icon text-style.svg | alpha | a = File:OOjs UI icon bold-a.svg | beta | b = File:OOjs UI icon bold-b.svg | release | r | general | g = File:OOjs UI icon check-constructive.svg | protected | protect | p = [[File:{{#if:|Cascade-protection-shackle.svg|{{#ifeq:|sysop|Full-protection-shackle-red.svg|Semi-protection-shackle-no-text.svg}}}}|40x40px|link=]] | semiprotected | semiprotect | semi = File:Semi-protection-shackle.svg | #default = File:OOjs UI icon alert-destructive.svg}} | {{#switch: r
| pre-alpha | prealpha | pa = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in pre-alpha development</tvar>|pre-alpha]].</translate> <translate> It is unfinished, and may or may not be in active development.</translate> <translate> It should not be used from article namespace pages.</translate> <translate> Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | alpha | a = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in alpha</tvar>|alpha]].</translate> <translate> It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched.</translate> <translate> Suggestions for new features or changes in their input and output mechanisms are welcome.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | beta | b = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in beta</tvar>|beta]], and is ready for widespread use.</translate> <translate> It is still new and should be used with some caution to ensure the results are as expected.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | release | r | general | g = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules for general use</tvar>|ready for general use]].</translate> <translate> It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate.</translate> <translate> It is ready to mention on help pages and other resources as an option for new users to learn.</translate> <translate> To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | protected | protect | p = <translate> This module is [[<tvar name=1>Special:MyLanguage/Category:Modules subject to page protection</tvar>|subject to {{<tvar name=2>#if:</tvar>|cascading|page}} protection]].</translate> <translate> It is a highly visible module in use by a very large number of pages.</translate> <translate> Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[<tvar name=1>Special:MyLanguage/Project:Protected page</tvar>|protected]] from editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | #default = Template:Error}} |
| other | #default = Template:Error }} {{#switch:
{{#if: | | {{#ifeq:Module|Module | module | other }} }}
| module =
{{#switch: p
| pre-alpha | prealpha | pa = File:OOjs UI icon text-style.svg | alpha | a = File:OOjs UI icon bold-a.svg | beta | b = File:OOjs UI icon bold-b.svg | release | r | general | g = File:OOjs UI icon check-constructive.svg | protected | protect | p = [[File:{{#if:|Cascade-protection-shackle.svg|{{#ifeq:|sysop|Full-protection-shackle-red.svg|Semi-protection-shackle-no-text.svg}}}}|40x40px|link=]] | semiprotected | semiprotect | semi = File:Semi-protection-shackle.svg | #default = File:OOjs UI icon alert-destructive.svg}} | {{#switch: p
| pre-alpha | prealpha | pa = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in pre-alpha development</tvar>|pre-alpha]].</translate> <translate> It is unfinished, and may or may not be in active development.</translate> <translate> It should not be used from article namespace pages.</translate> <translate> Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | alpha | a = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in alpha</tvar>|alpha]].</translate> <translate> It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched.</translate> <translate> Suggestions for new features or changes in their input and output mechanisms are welcome.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | beta | b = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in beta</tvar>|beta]], and is ready for widespread use.</translate> <translate> It is still new and should be used with some caution to ensure the results are as expected.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | release | r | general | g = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules for general use</tvar>|ready for general use]].</translate> <translate> It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate.</translate> <translate> It is ready to mention on help pages and other resources as an option for new users to learn.</translate> <translate> To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | protected | protect | p = <translate> This module is [[<tvar name=1>Special:MyLanguage/Category:Modules subject to page protection</tvar>|subject to {{<tvar name=2>#if:</tvar>|cascading|page}} protection]].</translate> <translate> It is a highly visible module in use by a very large number of pages.</translate> <translate> Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[<tvar name=1>Special:MyLanguage/Project:Protected page</tvar>|protected]] from editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | #default = Template:Error}} |
| other | #default = Template:Error }} Lua error: bad argument #1 to "get" (not a valid title). Lua error: callParserFunction: function "#translation" was not found.
<translate> This is a meta-module that implements the message box templates <tvar name=1>{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:mbox|mbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ambox|ambox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:cmbox|cmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:fmbox|fmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:imbox|imbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ombox|ombox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} and {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:tmbox|tmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}</tvar>.</translate> <translate> It is intended to be used from Lua modules, and should not be used directly from wiki pages.</translate> <translate> If you want to use this module's functionality from a wiki page, please use the individual message box templates instead.</translate>
<translate>
Usage
To use this module from another Lua module, first you need to load it. </translate>
local messageBox = require('Module:Message box')
<translate> To create a message box, use the <tvar name=1>main
</tvar> function.</translate>
<translate> It takes two parameters:</translate>
- <translate> the first is the box type (as a string).</translate>
- <translate> the second is a table containing the message box parameters.</translate>
local box = messageBox.main( boxType, {
param1 = param1,
param2 = param2,
-- <translate nowrap><!--T:10--> More parameters...</translate>
})
<translate> There are seven available box types: </translate>
<translate> Box type</translate> | <translate> Template</translate> | <translate> Purpose</translate> | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:mbox|mbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For message boxes to be used in multiple namespaces</translate> |
ambox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ambox|ambox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For article message boxes</translate> |
cmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:cmbox|cmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For category message boxes</translate> |
fmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:fmbox|fmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For interface message boxes</translate> |
imbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:imbox|imbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For file namespace message boxes</translate> |
tmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:tmbox|tmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For talk page message boxes</translate> |
ombox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ombox|ombox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> For message boxes in other namespaces</translate> |
<translate> See the template page of each box type for the available parameters.
Usage from <tvar name=1>#invoke
</tvar>
</translate>
<translate> As well as the <tvar name=1>main
</tvar> function, this module has separate functions for each box type.</translate>
<translate> They are accessed using the code <tvar name=1>{{#ifexpr:{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}<{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|code|span}} {{#ifexpr:{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|class="{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = monospaced |#default = monospaced
}} {{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = nowrap |#default = nowrap
}}"}}>}}{{[[mw:Special:MyLanguage/{{#switch:Scribunto|Translate=Help:Extension:Translate{{#switch:#invoke|#translation=/Page translation administration}}|ParserFunctions=Help:Extension:ParserFunctions|Page Forms=Extension:Page Forms{{#switch:#invoke|#arraymap|#arraymaptemplate|#template_display|#template_params=/Page Forms and templates|#autoedit|#forminput|#formlink|#formredlink=/Linking to forms|#queryformlink=/Creating query forms|#default_form=/The "edit with form" tab}}|#default=Extension:Scribunto|=Help:Magic words}}#{{#ifeq:
- |#|.23{{safesubst:#ifexpr: 1 < 0
|#invoke |{{safesubst:#ifexpr: 1+1 > 7 | |
- invoke }}
}}|#invoke}}|#invoke]]{{#ifexpr:{{#ifeq:Message box|mbox|...|Message box|mbox|...|1|0}}or{{#ifeq:
- |#|1|0}}|:Message box|mbox|...}}}}{{#ifexpr:{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|</{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|code|span}}>}}</tvar>, <tvar name=2>{{#invoke:Message box{{#ifeq:ambox|ambox| |ambox | }}{{#ifeq:...|...| |... | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
</tvar>, etc.</translate>
<translate> These will work when called from other modules, but they access code used to process arguments passed from <tvar name=1>{{#invoke:...{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
</tvar>, and so calling them will be less efficient than calling <tvar name=2>main
</tvar></translate>.
<translate>
Technical details
The module uses the same basic code for each of the templates listed above; the differences between each of them are configured using the data at <tvar name=1>Module:Message box/configuration</tvar>. </translate>
[[Category:Module documentation pages{{#translation:}}]]
| #default=
{{#switch:
| = {{#ifeq:<languages exists/>|<languages/>|<languages/>|
{{#if:{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/af | • {{#if:Module:Message box/doc
|Afrikaans |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/af}} Afrikaans]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ar | • {{#if:Module:Message box/doc
|العربية |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ar}} العربية]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ast | • {{#if:Module:Message box/doc
|asturianu |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ast}} asturianu]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/az | • {{#if:Module:Message box/doc
|azərbaycanca |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/az}} azərbaycanca]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/bcc | • {{#if:Module:Message box/doc
|جهلسری بلوچی |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/bcc}} جهلسری بلوچی]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/be | • {{#if:Module:Message box/doc
|беларуская |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/be}} беларуская]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/be-tarask | • {{#if:Module:Message box/doc
|беларуская (тарашкевіца) |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/be-tarask}} беларуская (тарашкевіца)]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/bg | • {{#if:Module:Message box/doc
|български |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/bg}} български]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/br | • {{#if:Module:Message box/doc
|brezhoneg |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/br}} brezhoneg]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/bn | • {{#if:Module:Message box/doc
|বাংলা |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/bn}} বাংলা]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/bs | • {{#if:Module:Message box/doc
|bosanski |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/bs}} bosanski]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ca | • {{#if:Module:Message box/doc
|català |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ca}} català]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ckb | • {{#if:Module:Message box/doc
|کوردی |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ckb}} کوردی]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/cs | • {{#if:Module:Message box/doc
|čeština |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/cs}} čeština]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/da | • {{#if:Module:Message box/doc
|dansk |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/da}} dansk]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/de | • {{#if:Module:Message box/doc
|Deutsch |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/de}} Deutsch]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/diq | • {{#if:Module:Message box/doc
|Zazaki |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/diq}} Zazaki]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/el | • {{#if:Module:Message box/doc
|Ελληνικά |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/el}} Ελληνικά]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/eo | • {{#if:Module:Message box/doc
|Esperanto |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/eo}} Esperanto]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/es | • {{#if:Module:Message box/doc
|español |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/es}} español]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/fa | • {{#if:Module:Message box/doc
|فارسی |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/fa}} فارسی]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/fi | • {{#if:Module:Message box/doc
|suomi |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/fi}} suomi]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/fr | • {{#if:Module:Message box/doc
|français |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/fr}} français]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/gl | • {{#if:Module:Message box/doc
|galego |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/gl}} galego]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/gu | • {{#if:Module:Message box/doc
|ગુજરાતી |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/gu}} ગુજરાતી]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/he | • {{#if:Module:Message box/doc
|עברית |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/he}} עברית]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/hi | • {{#if:Module:Message box/doc
|हिन्दी |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/hi}} हिन्दी]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/hr | • {{#if:Module:Message box/doc
|hrvatski |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/hr}} hrvatski]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/hu | • {{#if:Module:Message box/doc
|magyar |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/hu}} magyar]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/hy | • {{#if:Module:Message box/doc
|հայերեն |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/hy}} հայերեն]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/id | • {{#if:Module:Message box/doc
|Bahasa Indonesia |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/id}} Bahasa Indonesia]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/io | • {{#if:Module:Message box/doc
|Ido |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/io}} Ido]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/it | • {{#if:Module:Message box/doc
|italiano |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/it}} italiano]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ja | • {{#if:Module:Message box/doc
|日本語 |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ja}} 日本語]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/jv | • {{#if:Module:Message box/doc
|Jawa |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/jv}} Jawa]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ka | • {{#if:Module:Message box/doc
|ქართული |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ka}} ქართული]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/kk | • {{#if:Module:Message box/doc
|қазақша |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/kk}} қазақша]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/km | • {{#if:Module:Message box/doc
|ភាសាខ្មែរ |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/km}} ភាសាខ្មែរ]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ko | • {{#if:Module:Message box/doc
|한국어 |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ko}} 한국어]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ko-kp | • {{#if:Module:Message box/doc
|조선말 |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ko-kp}} 조선말]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ksh | • {{#if:Module:Message box/doc
|Ripoarisch |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ksh}} Ripoarisch]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/kw | • {{#if:Module:Message box/doc
|kernowek |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/kw}} kernowek]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/la | • {{#if:Module:Message box/doc
|Latina |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/la}} Latina]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/map-bms | • {{#if:Module:Message box/doc
|Basa Banyumasan |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/map-bms}} Basa Banyumasan]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/min | • {{#if:Module:Message box/doc
|Minangkabau |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/min}} Minangkabau]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/mk | • {{#if:Module:Message box/doc
|македонски |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/mk}} македонски]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ml | • {{#if:Module:Message box/doc
|മലയാളം |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ml}} മലയാളം]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/mr | • {{#if:Module:Message box/doc
|मराठी |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/mr}} मराठी]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ms | • {{#if:Module:Message box/doc
|Bahasa Melayu |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ms}} Bahasa Melayu]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/mwl | • {{#if:Module:Message box/doc
|Mirandés |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/mwl}} Mirandés]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/nl | • {{#if:Module:Message box/doc
|Nederlands |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/nl}} Nederlands]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/no | • {{#if:Module:Message box/doc
|norsk |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/no}} norsk]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/oc | • {{#if:Module:Message box/doc
|occitan |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/oc}} occitan]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/or | • {{#if:Module:Message box/doc
|ଓଡ଼ିଆ |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/or}} ଓଡ଼ିଆ]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/pl | • {{#if:Module:Message box/doc
|polski |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/pl}} polski]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/pt | • {{#if:Module:Message box/doc
|português |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/pt}} português]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/pt-br | • {{#if:Module:Message box/doc
|português do Brasil |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/pt-br}} português do Brasil]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ro | • {{#if:Module:Message box/doc
|română |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ro}} română]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ru | • {{#if:Module:Message box/doc
|русский |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ru}} русский]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/si | • {{#if:Module:Message box/doc
|සිංහල |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/si}} සිංහල]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/sk | • {{#if:Module:Message box/doc
|slovenčina |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/sk}} slovenčina]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/sl | • {{#if:Module:Message box/doc
|slovenščina |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/sl}} slovenščina]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/so | • {{#if:Module:Message box/doc
|Soomaaliga |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/so}} Soomaaliga]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/sq | • {{#if:Module:Message box/doc
|shqip |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/sq}} shqip]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/sr | • {{#if:Module:Message box/doc
|српски / srpski |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/sr}} српски / srpski]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/sv | • {{#if:Module:Message box/doc
|svenska |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/sv}} svenska]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/ta | • {{#if:Module:Message box/doc
|தமிழ் |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/ta}} தமிழ்]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/th | • {{#if:Module:Message box/doc
|ไทย |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/th}} ไทย]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/tr | • {{#if:Module:Message box/doc
|Türkçe |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/tr}} Türkçe]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/uk | • {{#if:Module:Message box/doc
|українська |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/uk}} українська]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/vi | • {{#if:Module:Message box/doc
|Tiếng Việt |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/vi}} Tiếng Việt]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/yi | • {{#if:Module:Message box/doc
|ייִדיש |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/yi}} ייִדיש]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/yue | • {{#if:Module:Message box/doc
|粵語 |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/yue}} 粵語]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/zh | • {{#if:Module:Message box/doc
|中文 |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/zh}} 中文]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/zh-hans | • {{#if:Module:Message box/doc
|中文(简体) |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/zh-hans}} 中文(简体)]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/zh-hant | • {{#if:Module:Message box/doc
|中文(繁體) |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/zh-hant}} 中文(繁體)]
}}
}}{{#ifexist: {{#if:Module:Message box/doc|Module:Message box/doc|{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}}}/zh-tw | • {{#if:Module:Message box/doc
|中文(臺灣) |[{{fullurl:{{#ifeq:{{#ifeq:en|en
|{{#ifeq:{{#titleparts:Module:Message box/doc||-1}}|en
|en }}
|en }}| |Module:Message box/doc |Module:Message box/doc
}}/zh-tw}} 中文(臺灣)]
}}
}} ||}}{{#switch:en |en= |ku-latn= |zh-hans|zh-hant= |#default=[[Category:Languages pages{{#translation:}}]] }}}} {{#switch:<translate></translate> | =
File:OOjs UI icon notice-warning.svg | <translate> This <tvar |
| #default=
{{#switch:
| =
File:OOjs UI icon notice-warning.svg | This module is used {{#if:|{{{1}}}|in system messages}}. Changes to it can cause immediate changes to the MediaWiki user interface. To avoid large-scale disruption, any changes should first be tested in this module's [[{{#switch: doc | doc | sandbox = Module:Message box | #default = Module:Message box/doc }}/sandbox|/sandbox]] or [[{{#switch: doc | doc | sandbox = Module:Message box | #default = Module:Message box/doc }}/testcases|/testcases]] subpage, or in your own user space.The tested changes can then be added in one single edit to this module. Please discuss any changes {{#if:|at [[{{{2}}}]]|on the [[{{#switch: doc | doc | sandbox = Module talk:Message box | #default = Module talk:Message box/doc}}|talk page]]}} before implementing them. |
| #default=
Lua error: expandTemplate: template loop detected.
}} }} {{#switch:
{{#if: | | {{#ifeq:Module|Module | module | other }} }}
| module =
{{#switch: r
| pre-alpha | prealpha | pa = File:OOjs UI icon text-style.svg | alpha | a = File:OOjs UI icon bold-a.svg | beta | b = File:OOjs UI icon bold-b.svg | release | r | general | g = File:OOjs UI icon check-constructive.svg | protected | protect | p = [[File:{{#if:|Cascade-protection-shackle.svg|{{#ifeq:|sysop|Full-protection-shackle-red.svg|Semi-protection-shackle-no-text.svg}}}}|40x40px|link=]] | semiprotected | semiprotect | semi = File:Semi-protection-shackle.svg | #default = File:OOjs UI icon alert-destructive.svg}} | {{#switch: r
| pre-alpha | prealpha | pa = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in pre-alpha development</tvar>|pre-alpha]].</translate> <translate> It is unfinished, and may or may not be in active development.</translate> <translate> It should not be used from article namespace pages.</translate> <translate> Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | alpha | a = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in alpha</tvar>|alpha]].</translate> <translate> It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched.</translate> <translate> Suggestions for new features or changes in their input and output mechanisms are welcome.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | beta | b = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in beta</tvar>|beta]], and is ready for widespread use.</translate> <translate> It is still new and should be used with some caution to ensure the results are as expected.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | release | r | general | g = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules for general use</tvar>|ready for general use]].</translate> <translate> It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate.</translate> <translate> It is ready to mention on help pages and other resources as an option for new users to learn.</translate> <translate> To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | protected | protect | p = <translate> This module is [[<tvar name=1>Special:MyLanguage/Category:Modules subject to page protection</tvar>|subject to {{<tvar name=2>#if:</tvar>|cascading|page}} protection]].</translate> <translate> It is a highly visible module in use by a very large number of pages.</translate> <translate> Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[<tvar name=1>Special:MyLanguage/Project:Protected page</tvar>|protected]] from editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | #default = Template:Error}} |
| other | #default = Template:Error }} {{#switch:
{{#if: | | {{#ifeq:Module|Module | module | other }} }}
| module =
{{#switch: p
| pre-alpha | prealpha | pa = File:OOjs UI icon text-style.svg | alpha | a = File:OOjs UI icon bold-a.svg | beta | b = File:OOjs UI icon bold-b.svg | release | r | general | g = File:OOjs UI icon check-constructive.svg | protected | protect | p = [[File:{{#if:|Cascade-protection-shackle.svg|{{#ifeq:|sysop|Full-protection-shackle-red.svg|Semi-protection-shackle-no-text.svg}}}}|40x40px|link=]] | semiprotected | semiprotect | semi = File:Semi-protection-shackle.svg | #default = File:OOjs UI icon alert-destructive.svg}} | {{#switch: p
| pre-alpha | prealpha | pa = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in pre-alpha development</tvar>|pre-alpha]].</translate> <translate> It is unfinished, and may or may not be in active development.</translate> <translate> It should not be used from article namespace pages.</translate> <translate> Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | alpha | a = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in alpha</tvar>|alpha]].</translate> <translate> It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched.</translate> <translate> Suggestions for new features or changes in their input and output mechanisms are welcome.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | beta | b = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules in beta</tvar>|beta]], and is ready for widespread use.</translate> <translate> It is still new and should be used with some caution to ensure the results are as expected.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | release | r | general | g = <translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules for general use</tvar>|ready for general use]].</translate> <translate> It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate.</translate> <translate> It is ready to mention on help pages and other resources as an option for new users to learn.</translate> <translate> To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | protected | protect | p = <translate> This module is [[<tvar name=1>Special:MyLanguage/Category:Modules subject to page protection</tvar>|subject to {{<tvar name=2>#if:</tvar>|cascading|page}} protection]].</translate> <translate> It is a highly visible module in use by a very large number of pages.</translate> <translate> Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[<tvar name=1>Special:MyLanguage/Project:Protected page</tvar>|protected]] from editing.</translate>{{#ifexpr: {{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:module:message box/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}} or {{#ifeq:doc|sandbox|1|0}} || {{#ifeq: | true | | }} }} | #default = Template:Error}} |
| other | #default = Template:Error }} Lua error: bad argument #1 to "get" (not a valid title). Lua error: callParserFunction: function "#translation" was not found.
This is a meta-module that implements the message box templates {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:mbox|mbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ambox|ambox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:cmbox|cmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:fmbox|fmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:imbox|imbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}, {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ombox|ombox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} and {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:tmbox|tmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}. It is intended to be used from Lua modules, and should not be used directly from wiki pages. If you want to use this module's functionality from a wiki page, please use the individual message box templates instead.
Usage
To use this module from another Lua module, first you need to load it.
local messageBox = require('Module:Message box')
To create a message box, use the main
function.
It takes two parameters:
- the first is the box type (as a string).
- the second is a table containing the message box parameters.
local box = messageBox.main( boxType, {
param1 = param1,
param2 = param2,
-- More parameters...
})
There are seven available box types:
Box type | Template | Purpose | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:mbox|mbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For message boxes to be used in multiple namespaces |
ambox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ambox|ambox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For article message boxes |
cmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:cmbox|cmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For category message boxes |
fmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:fmbox|fmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For interface message boxes |
imbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:imbox|imbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For file namespace message boxes |
tmbox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:tmbox|tmbox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For talk page message boxes |
ombox
|
{{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:ombox|ombox]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
For message boxes in other namespaces |
See the template page of each box type for the available parameters.
Usage from #invoke
As well as the main
function, this module has separate functions for each box type.
They are accessed using the code {{#ifexpr:{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|}}<{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|code|span}} {{#ifexpr:{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|class="{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = monospaced |#default = monospaced
}} {{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = nowrap |#default = nowrap
}}"}}>}}{{[[mw:Special:MyLanguage/{{#switch:Scribunto|Translate=Help:Extension:Translate{{#switch:#invoke|#translation=/Page translation administration}}|ParserFunctions=Help:Extension:ParserFunctions|Page Forms=Extension:Page Forms{{#switch:#invoke|#arraymap|#arraymaptemplate|#template_display|#template_params=/Page Forms and templates|#autoedit|#forminput|#formlink|#formredlink=/Linking to forms|#queryformlink=/Creating query forms|#default_form=/The "edit with form" tab}}|#default=Extension:Scribunto|=Help:Magic words}}#{{#ifeq:
- |#|.23{{safesubst:#ifexpr: 1 < 0
|#invoke |{{safesubst:#ifexpr: 1+1 > 7 | |
- invoke }}
}}|#invoke}}|#invoke]]{{#ifexpr:{{#ifeq:Message box|mbox|...|Message box|mbox|...|1|0}}or{{#ifeq:
- |#|1|0}}|:Message box|mbox|...}}}}{{#ifexpr:{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch:
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}or{{safesubst:#switch: 1
|no |n |false |0 = 0 | = 0 |¬ = |yes |y |true |1 = 1 |#default = 1
}}|</{{#if:{{safesubst:#switch: 1
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|code|span}}>}}, {{#invoke:Message box{{#ifeq:ambox|ambox| |ambox | }}{{#ifeq:...|...| |... | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
, etc.
These will work when called from other modules, but they access code used to process arguments passed from {{#invoke:...{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
, and so calling them will be less efficient than calling main
.
Technical details
The module uses the same basic code for each of the templates listed above; the differences between each of them are configured using the data at Module:Message box/configuration.
{{#switch:doc|sandbox|doc=|#default= [[Category:Modules{{#translation:}}]] }} | #default=
Lua error: expandTemplate: template loop detected.
}} }}