Difference between revisions of "Template:Ambox"
Jump to navigation
Jump to search
>Teg (Created page with "<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | red = ambox-red | oran...") |
>Teg |
||
| Line 16: | Line 16: | ||
</div>}}}}</td></tr></table></includeonly></onlyinclude><!-- | </div>}}}}</td></tr></table></includeonly></onlyinclude><!-- | ||
| − | --><noinclude>[[Category:Notice templates]]</noinclude> | + | --><noinclude> |
| + | {{doc}} | ||
| + | |||
| + | [[Category:Notice templates]]</noinclude> | ||
Revision as of 18:50, 8 September 2018
The template is a notice template
Named parameters
- |icon=
- image file name for use on the left, e.g. "Stub.png"
- |image=
- left (image) cell content, overrides
|icon=if provided. - |type=
- top line text
- |info=
- list of extra info
- |border=
- border colour (defaults to green)
- red
- ambox-red (serious issue)
- yellow
- ambox-yellow (mild issue)
- green
- ambox-green (good!)
- purple
- ambox-purple (technical change)
- blue
- ambox-blue (notice)
- orange
- ambox-orange (stub colour)
- gray
- ambox-gray
- |format
tinyto display a small, left-aligned box showing only the|type=value; any other value displays the full ambox.- |style=
- extra style parameters (unlikely to be used)
Examples
Default
| File:Information.png | I am type
I am info |
Tiny
| x20px | I am tiny |
Red + image
| File:Icon-boilerplate.png | I am type
|
Yellow
| File:Information.png | I am type
|
Green
| File:Information.png | I am type
|
Purple
| File:Information.png | I am type
|
Blue
| File:Information.png | I am type
|
Orange
| File:Information.png | I am type
|
Gray
| File:Information.png | I am type
|