Template:Notice: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}}" 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; {{{style}}}; {{#if:{{{style}}}|border:none;|border:1px solid black;}} | <div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}}" 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; {{{style}}}; {{#if:{{{style|}}}|{{#if:{{{style}}} |{{#contains:{{{style}}}|background-color}}|border:none;|border:1px solid black;}}}}}"> | ||
{{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight:bold;">{{{b}}}</div>}} | {{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight:bold;">{{{b}}}</div>}} | ||
<div class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}" style="white-space: normal;">{{{1}}}</div> | <div class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}" style="white-space: normal;">{{{1}}}</div> | ||