Template:WarningBox
Template data
A highly customisable warning box
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | content | Wikitext content of the warning box | Content | required |
Image | image | Image file name | File | suggested |
Image link | imagelink | Link the user will be sent to upon clicking the image | URL | optional |
Image size | imagesize | Pixel size of the image - this affects both width and height
| Number | optional |
Wikitable | wikitable | Use the wikitable class for the warning box. Disables all colour parameters.
| Boolean | optional |
Text colour | color | Hex colour value for the text
| Line | optional |
Background colour | background | Hex colour value for the background
| Line | optional |
Border colour | border | Hex colour value for the border
| Line | optional |
Text alignment | textalign | Text alignment of the content. One of: left, center, right
| Line | optional |
Examples
-
{{WarningBox | content = Test }}
becomes
Test -
{{WarningBox | image = Unkna0.png | content = Test | background = EFEFEF }}
becomes
Test -
{{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 -
{{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. -
{{WarningBox | content = This article is a stub. | wikitable = true | textalign = left }}
becomes
This article is a stub.
The template itself
{{{content}}} |