|
|
| (не показано 30 промежуточных версии 8 участников) |
| Строка 1: |
Строка 1: |
| − | <includeonly><table class="plainlinks noprint messagebox {{{type|notice}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}> | + | <includeonly>{{ |
| − | <tr style="vertical-align:middle;">{{#ifeq:{{{image|yes}}}|none
| + | {{namespace detect |
| − | |<!-- no image cell --> | + | | demospace = {{{demospace|}}} |
| − | |<td style="padding:0.3em; text-align:center; vertical-align:middle; width:45px;">
| + | | main = ambox |
| − | {{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
| + | | wikijunior = ambox |
| − | | warning = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}]]
| + | | cookbook = ambox |
| − | | serious = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}]]
| + | | talk = tmbox |
| − | | content = [[Image:Book important2.svg|{{{size|45x45px}}}]]
| + | | file = imbox |
| − | | style = [[Image:Applications-office.svg|{{{size|40x40px}}}]]
| + | | category = cmbox |
| − | | merge = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}]]
| + | | other = ombox |
| − | | move = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}]] | + | }} |
| − | | notice = [[Image:Book notice.svg|{{{size|40x40px}}}]]
| + | | type = {{{type|}}} |
| − | | growth = [[Image:Nuvola apps bookcase.svg|{{{size|40x40px}}}]]
| + | | image = {{{image|}}} |
| − | | idea = [[Image:Dialog-information on.svg|{{{size|40x40px}}}]]
| + | | imageright = {{{imageright|}}} |
| − | | query = [[Image:Torchlight help yellow.png|{{{size|40x40px}}}]]
| + | | style = {{{style|}}} |
| − | | blank = <!-- empty image cell -->
| + | | textstyle = {{{textstyle|}}} |
| − | |#default = [[Image:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
| + | | text = {{{text|{{{msg|}}}}}} |
| − | <td style="{{{text style|color:black; vertical-align:middle; padding:0.5em; padding-left:0em; width:90%;}}}">
| + | | small = {{{small|}}} |
| − | {{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
| + | | smallimage = {{{smallimage|}}} |
| − | </td>
| + | | smallimageright = {{{smallimageright|}}} |
| − | {{#if:{{{imageright|}}}|<td>{{{imageright}}}</td>}}
| + | | smalltext = {{{smalltext|}}} |
| − | </tr></table></includeonly><noinclude>
| + | }}</includeonly><noinclude> |
| − | | + | {{documentation}} |
| − | == Usage ==
| + | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
| − | | + | |
| − | {{[[{{FULLPAGENAME}}|{{lc:{{PAGENAME}}}}]]|type=<TYPE>|your message here}} | + | |
| − | | + | |
| − | This template is used to create messages with a consistent visual style, based on message types, and is typically used in other templates. The type of messages supported are:
| + | |
| − | | + | |
| − | {{msg:mbox|type=warning|text=warning or serious}}
| + | |
| − | {{msg:mbox|type=content|text=content}}
| + | |
| − | {{msg:mbox|type=style|text=style}}
| + | |
| − | {{msg:mbox|type=merge|text=merge or move}}
| + | |
| − | {{msg:mbox|type=notice|text=notice}}
| + | |
| − | {{msg:mbox|type=growth|text=growth}}
| + | |
| − | {{msg:mbox|type=idea|text=idea}}
| + | |
| − | {{msg:mbox|type=query|text=query}}
| + | |
| − | | + | |
| − | The default image can be suppressed with image="none", or you can use a custom image with image="<IMAGE>" (without the Image: prefix). See [[Wikibooks:Template messages]] for examples of how this template is used.
| + | |
| | </noinclude> | | </noinclude> |