Template data

A highly customisable warning box

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Contentcontent

Wikitext content of the warning box

Contentrequired
Imageimage

Image file name

Filesuggested
Image linkimagelink

Link the user will be sent to upon clicking the image

URLoptional
Image sizeimagesize

Pixel size of the image - this affects both width and height

Default
46
Numberoptional
Wikitablewikitable

Use the wikitable class for the warning box. Disables all colour parameters.

Default
false
Booleanoptional
Text colourcolor

Hex colour value for the text

Default
000000
Lineoptional
Background colourbackground

Hex colour value for the background

Default
FFFFFF
Lineoptional
Border colourborder

Hex colour value for the border

Default
000000
Lineoptional
Text alignmenttextalign

Text alignment of the content. One of: left, center, right

Default
center
Lineoptional

Examples

  1. {{WarningBox
    | content = Test
    }}

    becomes

    Test
  2. {{WarningBox
    | image = Unkna0.png
    | content = Test
    | background = EFEFEF
    }}

    becomes

    Test
  3. {{WarningBox
    | image = Za exe2 logo cropped.png
    | content = <- Click that image to view the page [[Zandronum]]
    | imagelink = Zandronum
    }}

    becomes

    <- Click that image to view the page Zandronum
  4. {{WarningBox
    | image = Za exe2 logo cropped.png
    | content = This article documents a [[Zandronum]]-specific [[ACS]] feature which may not be supported by [[doomwiki:ZDoom|ZDoom]] and its other child ports.
    | background = F0FFD1
    | border = 41443A
    | color = 000000
    }}

    becomes

    This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
  5. {{WarningBox
    | content = This article is a stub.
    | wikitable = true
    | textalign = left
    }}

    becomes

    This article is a stub.