Template:Collapsed infobox section begin: Difference between revisions

Add option to close caption divs with |caption=y
m (adding comment)
(Add option to close caption divs with |caption=y)
Line 1:
<includeonly>{{#if:{{{caption|}}}|</div>|}}</td></tr>
<tr><td colspan=2><table class="mw-collapsible {{#ifeq:yes|{{yesno|def=|{{{expanded|}}}}}||mw-collapsed}}" style="width:100%;{{#ifeq:yes|{{yesno|def=|{{{cont|}}}}}|margin-top:-0.65em;|}}{{{style|}}}">
<tr><th colspan=2 style="text-align:center;line-height:normal;padding:0.2em 0.2em;{{{titlestyle|}}}"><div style="margin:0 3.5em">{{{1|Further information}}}</div></th>
</tr>{{#if:{{{caption|}}}|<div>|}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->