Difference between revisions of "Template:Ambox/doc"

From RimWorld Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<noinclude>
 +
{{Modal mark for deletion}}
 +
</noinclude>
 +
 
The template is a notice template
 
The template is a notice template
  
Line 34: Line 38:
 
=== Red + image ===
 
=== Red + image ===
 
{{Ambox
 
{{Ambox
| image = [[File:Sniper rifle.png]]
+
| image = [[File:SniperRifle.png]]
 
| border = red
 
| border = red
 
| type = I am type
 
| type = I am type

Latest revision as of 00:32, 16 December 2021


The template is a notice template

Named parameters[edit]

|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]

Default[edit]

Tiny[edit]

Red + image[edit]

Yellow[edit]

Green[edit]

Purple[edit]

Blue[edit]

Orange[edit]

Gray[edit]