Template:WarningBox
Creates a 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 |
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 |
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.
The template itself
{{{content}}} |