More actions
mNo edit summary |
m Rayanth moved page User:Krevlorn severasse/template/box to User:Krevlorn Severasse/template/box: Automatically moved page while merging the account "Krevlorn severasse" to "Krevlorn Severasse" |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
Box with preset themes. | Box with preset themes. | ||
==Parameters== | |||
#. ''background'' = background colour in Hex | #. ''background'' = background colour in Hex | ||
| Line 26: | Line 26: | ||
</td></tr></table> | </td></tr></table> | ||
<noinclude>[[ | <noinclude> | ||
==Demo== | |||
===Styles=== | |||
{{User:Krevlorn_severasse/template/box|style=warning|header=Warning box|text=This is a warning box created by setting style to warning.}} | |||
{{User:Krevlorn_severasse/template/box|style=boldinfo|header=Strong info|text=This is a noticeable created by setting style to boldinfo}} | |||
{{User:Krevlorn_severasse/template/box|style=info|header=Info|text=This is an info box created by setting style to info}} | |||
{{User:Krevlorn_severasse/template/box|header=Basic|text=This is a default box, no theme has been set}} | |||
===Custom=== | |||
{{User:Krevlorn_severasse/template/box|style=warning|header=Look out!|text=Don't trust that guy|image=[[image:TitusTallang.jpg|96px]]}} | |||
</noinlcude | |||
Latest revision as of 02:40, 20 November 2019
Box with preset themes.
Parameters
- . background = background colour in Hex
- . color = Text Colour
- . border = css border property
- . width = box width
- . imagewidth = picture width for left hand box
- . style = preset styles
- info = black
- boldinfo = blue
- warning = red
- . image = content for left hand box
- . header = content for heading
- . text = content for body
Themes can be added with
{{#switch: {{{style}}} | info = result | boldinfo = result | warning = result| #default = result}}
|
{{{header}}}
{{{text}}}
|
Demo
Styles
User:Krevlorn severasse/template/box User:Krevlorn severasse/template/box User:Krevlorn severasse/template/box User:Krevlorn severasse/template/box
Custom
User:Krevlorn severasse/template/box </noinlcude