Difference between revisions of "Template:Warning"

From PINE64
Jump to navigation Jump to search
(fixed template)
(use display: table to work with float: right)
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
  
<pre><nowiki>{{warning|This is a warning.}}
+
<pre><nowiki>{{Warning|This is a warning.}}</nowiki></pre>
</nowiki></pre>
 
  
 
== Example ==
 
== Example ==
  
{{warning|This is a warning.}}
+
{{Warning|This is a warning.}}
 
+
</noinclude><includeonly><div style="display: table; min-width: 16em; min-height: 1.6em; margin: .5em 0; padding: .5em 1em; border: 1px solid #d33; color: black; background-color: #fee7e6;">'''Warning:''' {{{1|}}}</div></includeonly>
</noinclude><includeonly><table cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #d33 solid; background: transparent; margin-top:0.5em;padding:0.5em 1em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top" style="padding-right: 5px;">'''Warning: '''</td><td valign="top">{{{msg|{{{1|}}}}}}</td></tr></table></includeonly>
 

Revision as of 04:25, 17 September 2021

This page is a template. Check out all pages using this template.
For more information, read Template:Template.

Usage

{{Warning|This is a warning.}}

Example

Warning: This is a warning.