Template:Warning: Difference between revisions
Template page
More actions
JavaSkeptre (talk | contribs) mNo edit summary |
Improve background color so that warning are readable on the new theme |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{{#if: | {{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px var(--border-color-error, #d33) solid; background: transparent; margin-top:0.5em;padding:0.5em;background-color: var(--background-color-error-subtle, #fee7e6)"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:Icon notice warning 18px.png|18px|Warning|link=]]</span> '''Warning:''' {{#if: {{{1|}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}} | ||
</onlyinclude> | </onlyinclude> | ||
{{Documentation|content= | |||
<nowiki>{{warning}}</nowiki> | |||
{{warning}} | |||
<nowiki>{{warning|Hello}}</nowiki> | |||
{{warning|Hello}} | |||
}} | |||
Latest revision as of 00:19, 19 March 2026
Warning:
{{warning}}
Warning:
{{warning|Hello}}
| Hello |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |