Royal Quest Wiki
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{<noinclude></noinclude>{{!}}<!-- Template:Collapse --> class="navbox mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="text-align: left; border: {{{border|1px}}} style="background-color: {{{bg|#444444}}};" ; margin-top: 0.2em;"
+
{<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: {{{bg|#373737}}};" {{!}} <div style="font-size:112%;">{{{2|}}}</div>
+
! style="background-color: {{{hbgc|#373737}}};" {{!}} <span style="font-size:{{{hts|112%}}};">{{{2|Title}}}</span>
 
{{!}}-
 
{{!}}-
{{!}} style="border: 1px solid #444444; padding: {{{padding|8px}}}; background-color: #555555; " {{!}}
+
{{!}} style="border: 1px solid {{{bc|#444444}}}; text-align:{{{mta|Left}}}; padding: {{{padding|8px}}}; background-color: {{{mbgc|#555555}}}; " {{!}}
<div style="font-size:100%;">{{{1|}}}</div>
+
<span style="font-size: {{{mts|100%}}};">{{{1|Text}}}</span>
 
|}
 
|}
   
 
<noinclude>
 
<noinclude>
  +
{{clear}}
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{Collapse|1=Text|2=Title}}
+
{{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
  +
|hts= Value%
  +
|mts= Value%
  +
}}
  +
  +
!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
  +
hts = Header Text Size
  +
mts = Main Text Size
  +
  +
Defaults Settings:
  +
1= Text
  +
2= Title
  +
width= 100%
  +
border = 1px
  +
padding= 8px
  +
bc= #444444
  +
hbgc= #373737
  +
mbgc= #555555
  +
mta= Left
  +
hta= Center
  +
hts= 112%
  +
mts= 100%
 
</pre>
 
</pre>

Latest revision as of 23:20, 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
|hts= Value%
|mts= Value%
}}

!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
hts = Header Text Size
mts = Main Text Size

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