Difference between revisions of "Template:Collapsible boxes"

From Worms Knowledge Base

Jump to: navigation, search
(readjusted the font sizes)
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{{border|}}}}}|no||<div class="toccolours" style="padding: {{{border|5px}}};">}}<!--
+
<includeonly>{{#ifeq: {{lc:{{{border|}}}}}|no||<div class="toccolours" style="font-size: 100%; padding: {{{border|5px}}};">}}<!--
  
-->{{#if: {{{title1|}}}{{{1|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title1|{{{1}}}}}}</th></tr>
+
-->{{#if: {{{title1|}}}{{{1|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title1|{{{1}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text1|{{{2}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text1|{{{2}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title2|}}}{{{3|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title2|{{{3}}}}}}</th></tr>
+
-->{{#if: {{{title2|}}}{{{3|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title2|{{{3}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text2|{{{4}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text2|{{{4}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title3|}}}{{{5|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title3|{{{5}}}}}}</th></tr>
+
-->{{#if: {{{title3|}}}{{{5|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title3|{{{5}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text3|{{{6}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text3|{{{6}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title4|}}}{{{7|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title4|{{{7}}}}}}</th></tr>
+
-->{{#if: {{{title4|}}}{{{7|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title4|{{{7}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text4|{{{8}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text4|{{{8}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title5|}}}{{{9|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title5|{{{9}}}}}}</th></tr>
+
-->{{#if: {{{title5|}}}{{{9|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title5|{{{9}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text5|{{{10}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text5|{{{10}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title6|}}}{{{11|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title6|{{{11}}}}}}</th></tr>
+
-->{{#if: {{{title6|}}}{{{11|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title6|{{{11}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text6|{{{12}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text6|{{{12}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title7|}}}{{{13|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title7|{{{13}}}}}}</th></tr>
+
-->{{#if: {{{title7|}}}{{{13|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title7|{{{13}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text7|{{{14}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text7|{{{14}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title8|}}}{{{15|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title8|{{{15}}}}}}</th></tr>
+
-->{{#if: {{{title8|}}}{{{15|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title8|{{{15}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text8|{{{16}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text8|{{{16}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title9|}}}{{{17|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title9|{{{17}}}}}}</th></tr>
+
-->{{#if: {{{title9|}}}{{{17|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title9|{{{17}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text9|{{{18}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text9|{{{18}}}}}}</td></tr></table>}}<!--
  
-->{{#if: {{{title10|}}}{{{19|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title10|{{{19}}}}}}</th></tr>
+
-->{{#if: {{{title10|}}}{{{19|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf;">{{{title10|{{{19}}}}}}</th></tr>
 
<tr><td style="font-size: 90%;">{{{text10|{{{20}}}}}}</td></tr></table>}}<!--
 
<tr><td style="font-size: 90%;">{{{text10|{{{20}}}}}}</td></tr></table>}}<!--
  

Revision as of 04:41, 19 December 2009


Note

The thickness of the blue border can be adjusted by using the border parameter: border=5px

To completely remove the border, use border=no .

Personal tools