Template:Ambox/doc: Difference between revisions
Jump to navigation
Jump to search
Mystery Dungeon GP>Maintenance script-gpuser (Automated Import) |
m (3 versions importées) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
===Named parameters=== | ===Named parameters=== | ||
:; |icon=: image file name for use on the left, e.g. "Stub.png" | :; |icon=: image file name for use on the left, e.g. "Stub.png" | ||
:; |image=: left (image) cell content, overrides < | :; |image=: left (image) cell content, overrides <code>|icon=</code> if provided. | ||
:; |type=: top line text | :; |type=: top line text | ||
:; |info=: list of extra info | :; |info=: list of extra info | ||
Line 16: | Line 16: | ||
::; orange : ambox-orange (stub colour) | ::; orange : ambox-orange (stub colour) | ||
::; gray : ambox-gray | ::; gray : ambox-gray | ||
:; |format: < | :; |format: <code>tiny</code> to display a small, left-aligned box showing only the <code>|type=</code> value; any other value displays the full ambox. | ||
:; |style=: extra style parameters ''(unlikely to be used)'' | :; |style=: extra style parameters ''(unlikely to be used)'' | ||
Latest revision as of 04:11, February 18, 2021
The template is a notice template
Named parameters[edit source]
- |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[edit source]
Default[edit source]
![]() |
I am type
I am info |
Tiny[edit source]
![]() |
I am tiny |
Red + image[edit source]
![]() |
I am type
|
Yellow[edit source]
![]() |
I am type
|
Green[edit source]
![]() |
I am type
|
Purple[edit source]
![]() |
I am type
|
Blue[edit source]
![]() |
I am type
|
Orange[edit source]
![]() |
I am type
|
Gray[edit source]
![]() |
I am type
|