Difference between revisions of "Template:Ambox/core"
RealRecipes (talk | contribs) m (1 revision: 7) |
|||
| Line 10: | Line 10: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ambox-notice | | #default = ambox-notice | ||
| − | + | }}" style="{{{style|}}}"> | |
<tr> | <tr> | ||
{{#switch:{{{image|}}} | {{#switch:{{{image|}}} | ||
| Line 24: | Line 24: | ||
| {{{image}}} | | {{{image}}} | ||
| [[File:{{#switch:{{{type|}}} | | [[File:{{#switch:{{{type|}}} | ||
| − | | speedy = Ambox | + | | speedy = Ambox warning pn.svg |
| − | | delete = Ambox | + | | delete = Ambox warning pn.svg |
| − | | content = | + | | content = Book important2.svg |
| style = Edit-clear.svg | | style = Edit-clear.svg | ||
| − | | move = | + | | move = Merge-split-transwiki default.svg |
| − | | protection = | + | | protection = Padlock-silver-medium.svg |
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| − | | #default = | + | | #default = Information icon4.svg |
}} | {{#switch:{{{small|}}} | }} | {{#switch:{{{small|}}} | ||
| left = 20x20px | | left = 20x20px | ||
| Line 41: | Line 41: | ||
}}</td> | }}</td> | ||
}} | }} | ||
| − | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text} | + | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> |
| − | |||
| − | }}</td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none | ||
| Line 65: | Line 63: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
| − | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div | + | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div> |
| − | |||
| − | |||
| − | |||
| − | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:50, 22 March 2012
|
|
{{{text}}} |
| This template is used on 700,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in the template's /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on Wikipedia talk:Article message boxes before implementing them. |
This is the {{ambox/core}} sub-template.
Do not use this template directly, use {{ambox}} instead.
This template is called from {{ambox}}. It holds almost all of the code for {{ambox}}, while {{ambox}} does parameter preprocessing. Thus simplifying the code in {{ambox/core}}.
For more documentation see {{ambox}}.ja:Template:Ambox/core sc:Template:Ambox/core sl:Predloga:Polje za članke/core zh:模板:Ambox/core
| The above documentation is transcluded from Template:Ambox/core/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |