Difference between revisions of "Template:Collapse top"

Added generic {{{extrastyle|}}} param for addition of any desired styling. Left (((display|block}}} in place just in case it's already in use.
>Fred Gandt
(Added"display" param for <div> style to allow choice i.e. "flex". Defaults to "block" if not used.)
>Fred Gandt
(Added generic {{{extrastyle|}}} param for addition of any desired styling. Left (((display|block}}} in place just in case it's already in use.)
Line 1: Line 1:
<div style="display:{{{display|block}}};margin-left:{{{indent|0px}}};"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
<div style="display:{{{display|block}}};margin-left:{{{indent|0px}}};{{{extrastyle|}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
{| <!-- Template:Collapse top --> class="navbox mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
{| <!-- Template:Collapse top --> class="navbox mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
|-
|-
Anonymous user