Template:Chart top: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
m (derp; meant to do that in the sandbox version)
(This cannot auto-collapse by default, per MOS:DONTHIDE. It should never be auto-collapsed on purpose in mainspace with this parameter, either, for the same reason. Collapsing stuff is potentially less objectionable in other namespaces. See also MOS:ACCESS for usability and accessibility issues. And use Template:Yesno-no, to interpret values like "Y", "false", etc. Also permit "collapse" not just "collapsed".)
Line 1: Line 1:
{| class="collapsible {{#ifeq:{{{collapsed|}}}|no|expanded|collapsed}}" style="{{#switch:{{{align|}}}{{{float|}}}
{| class="collapsible {{#ifeq:{{yesno-no|{{{collapsed|{{{collapse|}}}}}}}}|yes|collapsed|expanded}}" style="{{#switch:{{{align|}}}{{{float|}}}
| left = margin: 0.3em 0 0.3em 1em; float:left; clear:{{{clear|left}}}; min-width:{{{min-width|{{{width|33em}}}}}};
| left = margin: 0.3em 0 0.3em 1em; float:left; clear:{{{clear|left}}}; min-width:{{{min-width|{{{width|33em}}}}}};
| right = margin: 0.3em 1em 0.3em 1em; float:right; clear:{{{clear|right}}}; min-width:{{{min-width|{{{width|33em}}}}}};
| right = margin: 0.3em 1em 0.3em 1em; float:right; clear:{{{clear|right}}}; min-width:{{{min-width|{{{width|33em}}}}}};

Revision as of 13:00, 30 July 2020

Family of Chart top