Difference between revisions of "Template:Collapsible boxes"
From Worms Knowledge Base
Explorer09 (Talk | contribs) |
Explorer09 (Talk | contribs) (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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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 | + | -->{{#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
{{{title1}}} |
---|
{{{text1}}} |
{{{title2}}} |
---|
{{{text2}}} |
... |
---|
... |
{{{titlen}}} |
---|
{{{textn}}} |
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
.