Royal Quest Wiki
m
m (Small test.)
Line 1: Line 1:
 
{<noinclude></noinclude>{{!}}<!-- Template:Collapse --> class="navbox mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="width:{{{width|100%}}}; border: {{{border|1px}}}; background-color: {{{bc|#444444}}}; text-align: {{{hta|center}}};"
 
{<noinclude></noinclude>{{!}}<!-- Template:Collapse --> class="navbox mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="width:{{{width|100%}}}; border: {{{border|1px}}}; background-color: {{{bc|#444444}}}; text-align: {{{hta|center}}};"
 
{{!}}-
 
{{!}}-
! style="background-color: {{{hbgc|#373737}}};" {{!}} <div style="font-size:112%;">{{{2|Title}}}</div>
+
! style="background-color: {{{hbgc|#373737}}};" {{!}} <span style="font-size:112%;">{{{2|Title}}}</span>
 
{{!}}-
 
{{!}}-
 
{{!}} style="border: 1px solid {{{bc|#444444}}}; text-align:{{{mta|Left}}}; padding: {{{padding|8px}}}; background-color: {{{mbgc|#555555}}}; " {{!}}
 
{{!}} style="border: 1px solid {{{bc|#444444}}}; text-align:{{{mta|Left}}}; padding: {{{padding|8px}}}; background-color: {{{mbgc|#555555}}}; " {{!}}
<div style="font-size:100%;">{{{1|Text}}}</div>
+
<span style="font-size:100%;">{{{1|Text}}}</span>
 
|}
 
|}
   

Revision as of 20:31, 24 August 2014


Usage

{{Collapse
|1= Text
|2= Title
|width= Value%
|border = Valuepx
|padding= Valuepx
|bc= #Value
|hbgc= #Value
|mbgc= #Value
|mta= Left/right/center
|hta= Left/right/center
}}

!Colour Parameters use Hexadecimal Colouring!
!All Parameters are CASE SENSITIVE!

bc = Border Colour
hbgc = Header Background Colour
mbgc = Main Background Colour
mta = Main Text Alignment
hta = Header Text Alignment

Defaults Settings: 
1= Text
2= Title
width= 100%
border = 1px
padding= 8px
bc= #444444
hbgc= #373737
mbgc= #555555
mta= Left
hta= Center