Difference between revisions of "User:Krevlorn Severasse/template/box"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
Box with preset themes.
 
Box with preset themes.
  
'''Parameters'''
+
==Parameters==
  
 
#. ''background'' = background colour in Hex
 
#. ''background'' = background colour in Hex
Line 26: Line 26:
 
</td></tr></table>
 
</td></tr></table>
  
<noinclude>[[Category:Templates]]</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

Revision as of 16:49, 24 February 2017

Box with preset themes.

Parameters

  1. . background = background colour in Hex
  2. . color = Text Colour
  3. . border = css border property
  4. . width = box width
  5. . imagewidth = picture width for left hand box
  6. . style = preset styles
    1. info = black
    2. boldinfo = blue
    3. warning = red
  7. . image = content for left hand box
  8. . header = content for heading
  9. . text = content for body

Themes can be added with

{{#switch: {{{style}}} | info = result | boldinfo = result | warning = result| #default = result}}


E-UNI Emblem.png
{{{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