Template:CollapsableTable: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="mw-collapsible wikitable" style="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: {{{color1|#F8F9FA}}}; border: 1px solid {{{title1border|{{{color1|#A2A9B1}}}}}};" | <font color="{{{textcolor1|#202122}}}">{{{title1}}}</font> |- | style="background: {{{contentcolor1|#FFFFFF}...") |
mNo edit summary |
||
(4 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 6: | Line 6: | ||
| style="background: {{{contentcolor1|#FFFFFF}}}; border: 1px solid {{{content1border|{{{contentcolor1|#A2A9B1}}}}}};" | {{{content1}}} | | style="background: {{{contentcolor1|#FFFFFF}}}; border: 1px solid {{{content1border|{{{contentcolor1|#A2A9B1}}}}}};" | {{{content1}}} | ||
|- | |- | ||
! style="{{#if:{{{title2|}}}| |display:none;}}background: {{{color2|#F8F9FA}}}; border: 1px solid {{{title2border|{{{color2|#A2A9B1}}}}}};" | <font color="{{{textcolor2|#202122}}}">{{{ | ! style="{{#if:{{{title2|}}}| |display:none;}}background: {{{color2|#F8F9FA}}}; border: 1px solid {{{title2border|{{{color2|#A2A9B1}}}}}};" | <font color="{{{textcolor2|#202122}}}">{{{title2}}}</font> | ||
|- | |- | ||
| style="{{#if:{{{content2|}}}| |display:none;}}background: {{{contentcolor2|#FFFFFF}}}; border: 1px solid {{{content2border|{{{contentcolor2|#A2A9B1}}}}}};" | {{{content2}}} | | style="{{#if:{{{content2|}}}| |display:none;}}background: {{{contentcolor2|#FFFFFF}}}; border: 1px solid {{{content2border|{{{contentcolor2|#A2A9B1}}}}}};" | {{{content2}}} | ||
|- | |- | ||
! style="{{#if:{{{title3|}}}| |display:none;}}background: {{{color3|#F8F9FA}}}; border: 1px solid {{{title3border|{{{color3|#A2A9B1}}}}}};" | <font color="{{{textcolor3|#202122}}}">{{{ | ! style="{{#if:{{{title3|}}}| |display:none;}}background: {{{color3|#F8F9FA}}}; border: 1px solid {{{title3border|{{{color3|#A2A9B1}}}}}};" | <font color="{{{textcolor3|#202122}}}">{{{title3}}}</font> | ||
|- | |- | ||
| style="{{#if:{{{content3|}}}| |display:none;}}background: {{{contentcolor3|#FFFFFF}}}; border: 1px solid {{{content3border|{{{contentcolor3|#A2A9B1}}}}}};" | {{{content3}}} | | style="{{#if:{{{content3|}}}| |display:none;}}background: {{{contentcolor3|#FFFFFF}}}; border: 1px solid {{{content3border|{{{contentcolor3|#A2A9B1}}}}}};" | {{{content3}}} | ||
|- | |- | ||
! style="{{#if:{{{title4|}}}| |display:none;}}background: {{{color4|#F8F9FA}}}; border: 1px solid {{{title4border|{{{color4|#A2A9B1}}}}}};" | <font color="{{{textcolor4|#202122}}}">{{{ | ! style="{{#if:{{{title4|}}}| |display:none;}}background: {{{color4|#F8F9FA}}}; border: 1px solid {{{title4border|{{{color4|#A2A9B1}}}}}};" | <font color="{{{textcolor4|#202122}}}">{{{title4}}}</font> | ||
|- | |- | ||
| style="{{#if:{{{content4|}}}| |display:none;}}background: {{{contentcolor4|#FFFFFF}}}; border: 1px solid {{{content4border|{{{contentcolor4|#A2A9B1}}}}}};" | {{{content4}}} | | style="{{#if:{{{content4|}}}| |display:none;}}background: {{{contentcolor4|#FFFFFF}}}; border: 1px solid {{{content4border|{{{contentcolor4|#A2A9B1}}}}}};" | {{{content4}}} | ||
|- | |- | ||
! style="{{#if:{{{title5|}}}| |display:none;}}background: {{{color5|#F8F9FA}}}; border: 1px solid {{{title5border|{{{color5|#A2A9B1}}}}}};" | <font color="{{{textcolor5|#202122}}}">{{{ | ! style="{{#if:{{{title5|}}}| |display:none;}}background: {{{color5|#F8F9FA}}}; border: 1px solid {{{title5border|{{{color5|#A2A9B1}}}}}};" | <font color="{{{textcolor5|#202122}}}">{{{title5}}}</font> | ||
|- | |- | ||
| 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>