Difference between revisions of "Template:Ambox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m (Changed Category)
Line 1: Line 1:
 +
<noinclude>
 +
{{Modal_Mark_For_Deletion}}
 +
</noinclude>
 
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
 
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
 
   | red      = ambox-red
 
   | red      = ambox-red
Line 17: Line 20:
 
{{documentation}}
 
{{documentation}}
 
[[Category:Notice templates]]
 
[[Category:Notice templates]]
[[Category:Pages_Marked_For_Deletion]]
 
 
</noinclude>
 
</noinclude>

Revision as of 23:54, 26 May 2020

Template:Modal Mark For Deletion


Documentation icon Template documentation[view] [edit] [history] [purge]

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

Tiny

Red + image

Yellow

Green

Purple

Blue

Orange

Gray