Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
Mystery Dungeon Independent>Korra II A Royal m (Text replacement - "includeonly" to "onlyinclude") |
Mystery Dungeon Independent>Korra II A Royal (Undo revision 179164 by Korra II A Royal (talk)) |
||
Line 1: | Line 1: | ||
< | <includeonly><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | ||
| red = ambox-red | | red = ambox-red | ||
| orange = ambox-orange | | orange = ambox-orange | ||
Line 15: | Line 15: | ||
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext"> | {{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext"> | ||
{{{info}}} | {{{info}}} | ||
</div>}}}}</td></tr></table></ | </div>}}}}</td></tr></table></includeonly></includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
[[Category:Notice templates]]</noinclude> | [[Category:Notice templates]]</noinclude> |
Revision as of 20:05, February 4, 2021
</includeonly>
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
tiny
to 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
![]() |
I am type
I am info |
Tiny
![]() |
I am tiny |
Red + image
![]() |
I am type
|
Yellow
![]() |
I am type
|
Green
![]() |
I am type
|
Purple
![]() |
I am type
|
Blue
![]() |
I am type
|
Orange
![]() |
I am type
|
Gray
![]() |
I am type
|