Template:CollapsableTable: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
No edit summary
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}}}
|}
|}<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>

Revision as of 14:03, 6 September 2023

{{{maintitle}}}  
{{{title1}}}
{{{content1}}}
{{{title2}}}
{{{content2}}}
{{{title3}}}
{{{content3}}}
{{{title4}}}
{{{content4}}}
{{{title5}}}
{{{content5}}}

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>