Template:Infobox

From The DarkMod Wiki
Revision as of 10:36, 15 January 2020 by Greebo (talk | contribs)
Jump to navigationJump to search

Usage

Include this template at the top of some page like so:

 {{infobox|text=
 Message to displayed here.
 }}

Parameters

This template takes the following parameters:

Name Example Description
text {{infobox|text=This article needs cleaning up.}} Mandatory. The text to display.
bg {{infobox|bg=#404040|text=Warning!}} Optional. The background color.
fg {{infobox|fg=#ff3030|text=Warning!}} Optional. The foreground (or text) color.
border {{infobox|border=2px dashed red|text=Warning!}} Optional. The border width, style and color.
align {{infobox|align=left|text=Warning!}} Optional. The text-alignment, e.g. left, right or center