Template:CollapsableTable: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="mw-collapsible wikitable" style="width: 100%; border: 2px solid {{{border|black}}}; text-align: center; margin: 0; padding: 0;" | {| class="mw-collapsible wikitable {{{1|}}}" style="width: {{{width|100%}}}; border: 2px solid {{{border|black}}}; text-align: center; margin: 0; padding: 0;" | ||
! style="background: {{{headercolor|#EAECF0}}}; border: 1px solid {{{headerborder|#A2A9B1}}};" | {{{maintitle}}} | ! style="background: {{{headercolor|#EAECF0}}}; border: 1px solid {{{headerborder|#A2A9B1}}};" | {{{maintitle}}} | ||
|- | |- | ||
Line 21: | Line 21: | ||
|- | |- | ||
| style="{{#if:{{{content5|}}}| |display:none;}}background: {{{contentcolor5|#FFFFFF}}}; border: 1px solid {{{content5border|{{{contentcolor5|#A2A9B1}}}}}};" | {{{content5}}} | | style="{{#if:{{{content5|}}}| |display:none;}}background: {{{contentcolor5|#FFFFFF}}}; border: 1px solid {{{content5border|{{{contentcolor5|#A2A9B1}}}}}};" | {{{content5}}} | ||
|} | |- | ||
! style="{{#if:{{{title6|}}}| |display:none;}}background: {{{color6|#F8F9FA}}}; border: 1px solid {{{title6border|{{{color6|#A2A9B1}}}}}};" | <font color="{{{textcolor6|#202122}}}">{{{title6}}}</font> | |||
|- | |||
| style="{{#if:{{{content6|}}}| |display:none;}}background: {{{contentcolor6|#FFFFFF}}}; border: 1px solid {{{content6border|{{{contentcolor6|#A2A9B1}}}}}};" | {{{content6}}} | |||
|- | |||
! style="{{#if:{{{title7|}}}| |display:none;}}background: {{{color7|#F8F9FA}}}; border: 1px solid {{{title7border|{{{color7|#A2A9B1}}}}}};" | <font color="{{{textcolor7|#202122}}}">{{{title7}}}</font> | |||
|- | |||
| style="{{#if:{{{content7|}}}| |display:none;}}background: {{{contentcolor7|#FFFFFF}}}; border: 1px solid {{{content7border|{{{contentcolor7|#A2A9B1}}}}}};" | {{{content7}}} | |||
|- | |||
! style="{{#if:{{{title8|}}}| |display:none;}}background: {{{color8|#F8F9FA}}}; border: 1px solid {{{title8border|{{{color8|#A2A9B1}}}}}};" | <font color="{{{textcolor8|#202122}}}">{{{title8}}}</font> | |||
|- | |||
| style="{{#if:{{{content8|}}}| |display:none;}}background: {{{contentcolor8|#FFFFFF}}}; border: 1px solid {{{content8border|{{{contentcolor8|#A2A9B1}}}}}};" | {{{content8}}} | |||
|- | |||
! style="{{#if:{{{title9|}}}| |display:none;}}background: {{{color9|#F9F9FA}}}; border: 1px solid {{{title9border|{{{color9|#A2A9B1}}}}}};" | <font color="{{{textcolor9|#202122}}}">{{{title9}}}</font> | |||
|- | |||
| style="{{#if:{{{content9|}}}| |display:none;}}background: {{{contentcolor9|#FFFFFF}}}; border: 1px solid {{{content9border|{{{contentcolor9|#A2A9B1}}}}}};" | {{{content9}}} | |||
|- | |||
! style="{{#if:{{{title10|}}}| |display:none;}}background: {{{color10|#F10F10FA}}}; border: 1px solid {{{title10border|{{{color10|#A2A10B1}}}}}};" | <font color="{{{textcolor10|#202122}}}">{{{title10}}}</font> | |||
|- | |||
| style="{{#if:{{{content10|}}}| |display:none;}}background: {{{contentcolor10|#FFFFFF}}}; border: 1px solid {{{content10border|{{{contentcolor10|#A2A10B1}}}}}};" | {{{content10}}} | |||
|}<noinclude> | |||
<div style="background: #ECFCF4;border: 1px solid #A2A9B1;text-overflow: ellipsis;"> | |||
<div style="margin-left:15px;margin-bottom:16px;text-overflow: ellipsis;"> | |||
== Template documentation == | |||
Example usage:<pre> | |||
{{CollapsableTable | |||
| border = | |||
| headercolor = | |||
| headerborder = | |||
| maintitle = | |||
| color1 = | |||
| title1border = | |||
| textcolor1 = | |||
| title1 = | |||
| contentcolor1 = | |||
| content1border = | |||
| content1 = | |||
| color2 = | |||
| title2border = | |||
| textcolor2 = | |||
| title2 = | |||
| contentcolor2 = | |||
| content2border = | |||
| content2 = | |||
| color3 = | |||
| title3border = | |||
| textcolor3 = | |||
| title3 = | |||
| contentcolor3 = | |||
| content3border = | |||
| content3 = | |||
| color4 = | |||
| title4border = | |||
| textcolor4 = | |||
| title4 = | |||
| contentcolor4 = | |||
| content4border = | |||
| content4 = | |||
| color5 = | |||
| title5border = | |||
| textcolor5 = | |||
| title5 = | |||
| contentcolor5 = | |||
| content5border = | |||
| content5 = | |||
}}<includeonly><includeonly> | |||
</pre> | |||
</div> | |||
</div> | |||
</noinclude> |
Latest revision as of 17:40, 20 October 2023
{{{maintitle}}} |
---|
{{{title1}}} |
{{{content1}}} |
Template documentation
Example usage:{{CollapsableTable | border = | headercolor = | headerborder = | maintitle = | color1 = | title1border = | textcolor1 = | title1 = | contentcolor1 = | content1border = | content1 = | color2 = | title2border = | textcolor2 = | title2 = | contentcolor2 = | content2border = | content2 = | color3 = | title3border = | textcolor3 = | title3 = | contentcolor3 = | content3border = | content3 = | color4 = | title4border = | textcolor4 = | title4 = | contentcolor4 = | content4border = | content4 = | color5 = | title5border = | textcolor5 = | title5 = | contentcolor5 = | content5border = | content5 = }}<includeonly><includeonly>