Jump to content

Template:Warning: Difference between revisions

From NixOS Wiki
imported>Fadenb
No edit summary
DoggoBit (talk | contribs)
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;border:1px #b32424 solid;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top">''' Warning:''' {{{1}}}</td><td valign="top" style="padding-left:0.5em;">{{{1}}}</td></tr></table>
<includeonly>{{Notice|icon={{{icon|⚠}}}|color=var(--border-color-warning)|background=var(--background-color-warning-subtle)|'''Warning:''' {{{1}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:30, 5 June 2025

Template Documentation [edit source| uses| help]

This template can be used to display a warning to the reader, disrupting the normal reading flow. It should be used sparingly; an overabundance of warnings is functionally the same as no warnings whatsoever. However, should the reader need to proceed with caution, a warning can bring their attention to important details.

⚠︎
Warning: Be cautious about overusing warnings. Using too many warnings within a page can be distracting, or can even have the opposite effect, the reader ending up ignoring them.

Usage

Simply include this template within the page, along with the warning message:

{{Warning|Something to watch out for.}}