Template:Ambox

From Blockgame Wiki
Revision as of 16:01, 28 November 2024 by Nelas (talk | contribs) (Created page with "<includeonly><div class="center-messagebox {{#if: {{{color|}}} | {{{color}}} | gray}}"> <div class="center-messagebox-inner"> <div class="center-messagebox-inner-left"><div class="center-messagebox-image">{{#if: {{{image|}}} | [[File:{{{image}}}]] | File:Site-community-image.png}}</div></div> <div class="center-messagebox-inner-right"> {{{content|}}} </div> </div> </div> <div style="height: 20px;"></div></includeonly><noinclude>{{doc}}Category:TemplatesCategor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

This template is a base template for many notice templates.

Usage

{{Ambox
|image=
|content=
|color=
}}

Arguments

Argument Description Default Value
image Image file name for use on the left, e.g. "Stub.png" Site-community-image.png
content text displayed in the right cell content
color The colour of the Ambox.
Possible Values:
  • red (serious issue)
  • yellow (mild issue)
  • green (good!)
  • purple (technical change)
  • blue (notice)
  • gray
  • orange
  • pink
grey