|
|
| (не показано 103 проміжні версії 13 учасників) |
| Рядок 1: |
Рядок 1: |
| − | <includeonly><table class="metadata plainlinks" style="{{{style|width: 80%; margin: 0 auto; border-collapse: collapse; background: #f8fcff; border: 1px solid #aaa;}}} border-left: 10px solid {{#switch:{{{type|}}} | + | <includeonly>{{ |
| − | | serious = #b22222 | + | {{namespace detect |
| − | | content = #f28500 | + | | demospace = {{{demospace|}}} |
| − | | style = #f4c430 | + | | main = ambox |
| − | | merge = #9932cc | + | | wikijunior = ambox |
| − | | notice = #1e90ff | + | | cookbook = ambox |
| − | | growth = #228b22 | + | | talk = tmbox |
| − | | #default = #1e90ff | + | | file = imbox |
| − | }};"> | + | | category = cmbox |
| − | <tr>
| + | | other = ombox |
| − | {{#ifeq:{{{image}}}|none | + | }} |
| − | | <!-- no image cell -->
| + | | type = {{{type|}}} |
| − | | <td style="width: 52px; padding: 2px 0px 2px 0.5em; text-align: center;">{{#switch:{{{image|{{{type|}}}}}}
| + | | image = {{{image|}}} |
| − | | serious = [[Image:Stop hand nuvola.svg|40px]]
| + | | imageright = {{{imageright|}}} |
| − | | content = [[Image:Emblem-important.svg|40px]]
| + | | style = {{{style|}}} |
| − | | style = [[Image:Broom icon.svg|40px]]
| + | | textstyle = {{{textstyle|}}} |
| − | | merge = [[Image:Merge-split-transwiki default.svg]]
| + | | text = {{{text|{{{msg|}}}}}} |
| − | | notice = [[Image:Information icon.svg|40px]]
| + | | small = {{{small|}}} |
| − | | growth = [[Image:Green plus icon.png|40px]]
| + | | smallimage = {{{smallimage|}}} |
| − | | blank = <!-- empty image cell -->
| + | | smallimageright = {{{smallimageright|}}} |
| − | | #default = {{{image|[[Image:Information icon.svg|40px]]}}}
| + | | smalltext = {{{smalltext|}}} |
| − | }}</td>
| + | }}</includeonly><noinclude> |
| − | }}
| + | {{documentation}} |
| − | <td style="color: #000000;">
| + | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
| − | {{{text|''Enter Text''}}} | + | |
| − | </td style="padding: 0.25em 0.5em;">
| + | |
| − | {{#if:{{{imageright|}}}| | + | |
| − | <td class="ambox-imageright"> {{{imageright}}} </td>
| + | |
| − | }}
| + | |
| − | </tr>
| + | |
| − | </table></includeonly><noinclude>
| + | |
| − | | + | |
| − | == Usage == | + | |
| − | | + | |
| − | This template is used to create other templates with a consistent visual style. Messages will be color coded to demonstrate their type and severity. The types of message are described as:
| + | |
| − | | + | |
| − | <nowiki>{{mbox|type=<TYPE>|text=<TEXT>}}</nowiki>
| + | |
| − | | + | |
| − | Where <TYPE> can be one of the following:
| + | |
| − | | + | |
| − | {{mbox|type=serious|text=serious}}
| + | |
| − | {{mbox|type=content|text=content}} | + | |
| − | {{mbox|type=style|text=style}}
| + | |
| − | {{mbox|type=merge|text=merge}} | + | |
| − | {{mbox|type=notice|text=notice}}
| + | |
| − | {{mbox|type=growth|text=growth}} | + | |
| − | | + | |
| − | the default images can be suppressed by specifying "image=blank", or "image=<IMAGE>", where <IMAGE> is a replacement image link. | + | |
| − | | + | |
| − | | + | |
| | </noinclude> | | </noinclude> |