Template:Ambox/core: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
| left = mbox-small-left | | left = mbox-small-left | ||
}} {{#switch:{{{type|}}} | }} {{#switch:{{{type|}}} | ||
| | | warn = ambox-warn | ||
| #default | | question = ambox-question | ||
| exclamation = ambox-exclamation | |||
| info <!-- info = default --> | |||
| #default = ambox-notice | |||
}}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
| Line 18: | Line 21: | ||
| {{{image}}} | | {{{image}}} | ||
| [[Image:{{#switch:{{{type|}}} | | [[Image:{{#switch:{{{type|}}} | ||
| | | warn = Icon warning.svg | ||
| question = Icon question.svg | |||
| exclamation = Icon exclamation.svg | |||
| info <!-- info = default --> | |||
| #default = Icon info.svg | | #default = Icon info.svg | ||
}} | {{#switch:{{{small|}}} | }} | {{#switch:{{{small|}}} | ||
Revision as of 17:39, 16 July 2009
| {{{text}}} |
[edit]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 most of the code for {{ambox}}, while {{ambox}} does parameter preprocessing. Thus simplifying the code in {{ambox/core}}.
For more documentation see {{ambox}}.