Template:Ambox/core: Difference between revisions
From VNDev Wiki
Created page with "<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | serious | delete = ambox-delete | warning | content = ambox-content | attention | style = ambox-style | note | move = ambox-move | protection = ambox-protection | notice <!-- notice = default --> | #default = ambox-notice }}" style="{{{style|}}}"> <tr> {{#switch:{{{image|}}} | blank <!-- Fall back to "no..." |
m Rename images |
||
(2 intermediate revisions by the same user not shown) | |||
Line 36: | Line 36: | ||
| style = Emblem-important-yellow.png | | style = Emblem-important-yellow.png | ||
| note | | note | ||
| move = Ambox | | move = Ambox move.png | ||
| protection = Ambox protection.png | | protection = Ambox protection.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = Ambox notice.png | ||
}} | {{#switch:{{{small|}}} | }} | {{#switch:{{{small|}}} | ||
| left = 20x20px | | left = 20x20px | ||
Line 49: | Line 49: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{ | <td class="mbox-text" style="{{{textstyle|}}}"> {{{issue}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none |
Latest revision as of 11:45, 18 June 2022
{{{issue}}} |
Documentation
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}}.