Difference between revisions of "Template:Collapsible boxes"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (New page: <includeonly>{{#ifeq: {{#lc:{{{border|}}}}}|no||<div class="toccolours" style="padding: {{{border|5px}}};">}} {{#if: {{{title1|}}}{{{1|}}}|<table class="collapsible collapsed" width="100%"...) |
Explorer09 (Talk | contribs) (code fix) |
||
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="padding: {{{border|5px}}};">}}<!-- |
− | {{#if: {{{title1|}}}{{{1|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title1|{{{1}}}}}}</th></tr> | + | |
− | <tr><td style="font-size: 90%;">{{{text1|{{{2}}}}}}</td></tr></table>}} | + | -->{{#if: {{{title1|}}}{{{1|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title1|{{{1}}}}}}</th></tr> |
− | {{#if: {{{title2|}}}{{{3|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title2|{{{3}}}}}}</th></tr> | + | <tr><td style="font-size: 90%;">{{{text1|{{{2}}}}}}</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: {{{title2|}}}{{{3|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title2|{{{3}}}}}}</th></tr> |
− | <tr><td style="font-size: 90%;">{{{text3|{{{6}}}}}}</td></tr></table>}} | + | <tr><td style="font-size: 90%;">{{{text2|{{{4}}}}}}</td></tr></table>}}<!-- |
− | {{#if: {{{title4|}}}{{{7|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title4|{{{7}}}}}}</th></tr> | + | |
− | <tr><td style="font-size: 90%;">{{{text4|{{{8}}}}}}</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: {{{title5|}}}{{{9|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title5|{{{9}}}}}}</th></tr> | + | <tr><td style="font-size: 90%;">{{{text3|{{{6}}}}}}</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: {{{title4|}}}{{{7|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title4|{{{7}}}}}}</th></tr> |
− | <tr><td style="font-size: 90%;">{{{text6|{{{12}}}}}}</td></tr></table>}} | + | <tr><td style="font-size: 90%;">{{{text4|{{{8}}}}}}</td></tr></table>}}<!-- |
− | {{#if: {{{title7|}}}{{{13|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title7|{{{13}}}}}}</th></tr> | + | |
− | <tr><td style="font-size: 90%;">{{{text7|{{{14}}}}}}</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: {{{title8|}}}{{{15|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title8|{{{15}}}}}}</th></tr> | + | <tr><td style="font-size: 90%;">{{{text5|{{{10}}}}}}</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: {{{title6|}}}{{{11|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title6|{{{11}}}}}}</th></tr> |
− | <tr><td style="font-size: 90%;">{{{text9|{{{18}}}}}}</td></tr></table>}} | + | <tr><td style="font-size: 90%;">{{{text6|{{{12}}}}}}</td></tr></table>}}<!-- |
− | {{#if: {{{title10|}}}{{{19|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title10|{{{19}}}}}}</th></tr> | + | |
− | <tr><td style="font-size: 90%;">{{{text10|{{{20}}}}}}</td></tr></table>}} | + | -->{{#if: {{{title7|}}}{{{13|}}}|<table class="collapsible collapsed" width="100%"><tr><th style="background: #ccf; font-size: 110%;">{{{title7|{{{13}}}}}}</th></tr> |
− | {{#ifeq: {{#lc:{{{border|}}}}}|no||</div>}}</includeonly><noinclude> | + | <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> | ||
+ | <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> | ||
+ | <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> | ||
+ | <tr><td style="font-size: 90%;">{{{text10|{{{20}}}}}}</td></tr></table>}}<!-- | ||
+ | |||
+ | -->{{#ifeq: {{#lc:{{{border|}}}}}|no||</div>}}</includeonly><noinclude> | ||
{{Collapsible boxes|{{{title1}}}|{{{text1}}}|{{{title2}}}|{{{text2}}}|...|...|<nowiki>{{{</nowiki>title<sub>n</sub><nowiki>}}}</nowiki>|<nowiki>{{{</nowiki>text<sub>n</sub><nowiki>}}}</nowiki>}} | {{Collapsible boxes|{{{title1}}}|{{{text1}}}|{{{title2}}}|{{{text2}}}|...|...|<nowiki>{{{</nowiki>title<sub>n</sub><nowiki>}}}</nowiki>|<nowiki>{{{</nowiki>text<sub>n</sub><nowiki>}}}</nowiki>}} | ||
</noinclude> | </noinclude> |
Revision as of 13:58, 18 December 2009
{{{title1}}} |
---|
{{{text1}}} |
{{{title2}}} |
---|
{{{text2}}} |
... |
---|
... |
{{{titlen}}} |
---|
{{{textn}}} |