Wiki Downtime / Change Your Passwords!
This notice may be cached—the current version can be found here.

Template:Rounded info box/doc

From Dwarf Fortress Wiki
Jump to: navigation, search

This template is used on the Main page. Be careful when editing (test on your user page first!)

Contents

[edit] Examples

{{Rounded info box|Header|Text}}
Header

Text

[edit] Existing shortcuts

See Category:Rounded info box templates for a list of existing templates.

{{Red rounded info box|Header|Text}}
Header

Text

{{Grey rounded info box|Header|Text}}
Header

Text

{{Orange rounded info box|Header|Text}}
Header

Text

{{Green rounded info box|Header|Text}}
Header

Text

[edit] Custom colors

{{Rounded info box|Header|Text|bordercolor=red|hbgcolor=yellow|hcolor=#090}}
Header

Text

{{Rounded info box|Header|Text|hcolor=purple|hbgcolor=red|bgcolor=lime|color=rgb(255,150,10)|bordercolor=hsl(0, 100%, 0%)}}
Header

Text

[edit] Parameters (optional)

[edit] Colors

  • color: The text color of the body
  • hcolor: The text color of the header
  • bordercolor: Border color of the infobox
  • bgcolor: Background color of the body
  • hbgcolor: Background color of the header

Multiple formats are acceptable.

Format Red Light blue [1]
Hexadecimal #f00 or #ff0000 #e0f0ff
Text red None [2]
RGB rgb(255,0,0) rgb(224,240,255)
HSL hsl(0, 100%, 50%) hsl(209, 100%, 94%)

[1] This is only an example - many other colors would also work.

[2] Some browsers may support a name for this color (like skyBlue) but it might not be consistent.

[edit] Layout

  • align: The alignment of the body (defaults to "center")
  • halign: The alignment of the header (defaults to "center")
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Advertisement