Difference between revisions of "Template:Collapsible boxes"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (readjusted the font sizes) |
Explorer09 (Talk | contribs) m (description) |
||
Line 34: | Line 34: | ||
{{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>}} | ||
---- | ---- | ||
− | === | + | ===Usage=== |
+ | <code><nowiki>{{</nowiki>Collapsible boxes| title1 | text1 | title2 | text2 | ... | ... | title10 | text10 <nowiki>}}</nowiki></code> | ||
+ | |||
+ | or | ||
+ | |||
+ | <code><nowiki>{{</nowiki>Collapsible boxes| border=5px | title1 | text1 | title2 | text2 | ... | ... | title10 | text10 <nowiki>}}</nowiki></code> | ||
+ | |||
The thickness of the blue border can be adjusted by using the ''border'' parameter: <code>border=5px</code> | The thickness of the blue border can be adjusted by using the ''border'' parameter: <code>border=5px</code> | ||
− | To completely remove the border, use <code>border=no</code> . | + | To completely remove the border, use <code>border=no</code> .</noinclude> |
− | </noinclude> | + |
Revision as of 13:35, 20 December 2009
{{{title1}}} |
---|
{{{text1}}} |
{{{title2}}} |
---|
{{{text2}}} |
... |
---|
... |
{{{titlen}}} |
---|
{{{textn}}} |
Usage
{{Collapsible boxes| title1 | text1 | title2 | text2 | ... | ... | title10 | text10 }}
or
{{Collapsible boxes| border=5px | title1 | text1 | title2 | text2 | ... | ... | title10 | text10 }}
The thickness of the blue border can be adjusted by using the border parameter: border=5px
To completely remove the border, use border=no
.