Template:Warning: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Jhmaster2000 (talk | contribs) (hope this works) |
Jhmaster2000 (talk | contribs) m (small fix) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{msg|{{{1|}}}}}}|<table class="warning-message" style="background-color: # |
<onlyinclude>{{#if: {{{msg|{{{1|}}}}}}|<table class="warning-message" style="color: #eee !important; background-color: #600000; border: 1px #d33 solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tr><td style="white-space: nowrap; vertical-align: top;">}}<span style="position: relative; top: -2px;">[[File:OOjs_UI_icon_notice-destructive.svg|18px|alt= Warning|link=]]</span> {{#if: {{{msg|{{{1|}}}}}}|</td><td style="padding-left: 0.5em vertical-align: top;">{{{msg|{{{1|}}}}}}</td></tr></table>}}</onlyinclude> |
||
Stolen from https://www.mediawiki.org/wiki/Template:Warning, hope it works. |
Stolen from https://www.mediawiki.org/wiki/Template:Warning, hope it works. |
||
{{ |
{{Warning|1= Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}} |
Latest revision as of 09:20, 16 August 2023
Stolen from https://www.mediawiki.org/wiki/Template:Warning, hope it works.