Difference between revisions of "Template:Collapse top"
Added"display" param for <div> style to allow choice i.e. "flex". Defaults to "block" if not used.
>Fred Gandt (Added"display" param for <div> style to allow choice i.e. "flex". Defaults to "block" if not used.) |
|||
Line 1: | Line 1: | ||
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section--> | <div style="display:{{{display|block}}};margin-left:{{{indent|0px}}};"><!-- 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}}};}}" | ||
|- | |- |