Jump to content

Template:Aside: Difference between revisions

Add margin
m (Remove debugging stuff.)
(Add margin)
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#ifeq: {{{float}}} | center | <center>}}<div style="display: inline-block; max-width: min(100vw, 360px + 2em); {{#ifeq: {{{float}}} | center | | float: {{{float|right}}}; clear: {{{float|right}}};}} background-color: #{{{color|888888}}}22; border: 2px solid #{{{color|888888}}}44; padding: 1em; font-size: 95%; text-align: left;"><div style="font-weight: bold; text-align: center; font-size: initial;">{{{2|}}}</div>{{{1}}}</div>{{#ifeq: {{{float}}} | center | </center>}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#ifeq: {{{float}}} | center | <center>}}<div style="display: inline-block; max-width: min(100vw, 360px + 2rem); {{#ifeq: {{{float}}} | center | | float: {{{float|right}}}; clear: {{{float|right}}};}} background-color: #{{{color|888888}}}22; border: 2px solid #{{{color|888888}}}44; padding: 1rem; margin: auto 1rem; font-size: 95%; text-align: left;"><div style="font-weight: bold; text-align: center; font-size: initial;">{{{2|}}}</div>{{{1}}}</div>{{#ifeq: {{{float}}} | center | </center>}}</onlyinclude></includeonly>


== Usage ==
== Usage ==