Template:Test: Difference between revisions

mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
Line 2: Line 2:
{{#if: {{{clear|}}} | <div style="clear: both;"></div> }}
{{#if: {{{clear|}}} | <div style="clear: both;"></div> }}
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}} dismissible-notice" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}}; margin: {{#switch:{{{align|center}}}|left=0 auto 0 0|right=0 0 0 auto|#default=auto}}; padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}} dismissible-notice" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}}; margin: {{#switch:{{{align|center}}}|left=0 auto 0 0|right=0 0 0 auto|#default=auto}}; padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
   {{#if: {{{color|}}} | background-color: {{{color}}}; {{#if: {{{border|}}} | border: {{{border}}}; }} | border: 1px solid black; }};
   {{#if: {{{color|}}} | background-color: {{{color}}}; {{#if: {{{border|}}} | border: {{{border}}}; }} | border: 1px solid black; }}
  margin: 0.3em;
">
">
   <div style="position: relative;">
   <div style="position: relative;">