Template:Ambox/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Maintenance script-gpuser
(Automated Import)
 
m (qudcyan)
Line 16: Line 16:
::; orange  : ambox-orange (stub colour)
::; orange  : ambox-orange (stub colour)
::; gray    : ambox-gray
::; gray    : ambox-gray
::; qudcyan  : ambox-qud-c
:; |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.
:; |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)''
Line 86: Line 87:
{{Ambox
{{Ambox
| border = gray
| border = gray
| type = I am type
| info =
* I am info
}}
=== Qudcyan ===
{{Ambox
| border = qudcyan
| type = I am type
| type = I am type
| info =
| info =

Revision as of 02:16, 3 November 2020

Template-info.png Documentation

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
qudcyan
ambox-qud-c
|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
* I am info

Yellow

I am type
* I am info

Green

I am type
* I am info

Purple

I am type
* I am info

Blue

I am type
* I am info

Orange

I am type
* I am info

Gray

I am type
* I am info

Qudcyan

I am type
* I am info