Difference between revisions of "Template:Warning"

From Wiki.OSArch
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="display: inline-block; background-color: #fee7e6; padding: 0.5em;">[[File:emblem-warning.png|18px|Warning]] '''Warning:''' {{{1}}}</span>
+
<noinclude>
 +
=Usage=
 +
Copy the text below wherever you need a text paragraph as a warning.
 +
 
 +
<pre style="overflow:auto;">
 +
{{Warning
 +
| 1 = Warning text here
 +
}}
 +
</pre>
 +
 
 +
=Example=
 +
{{Warning
 +
| 1 = That was a warning!
 +
}}
 +
</noinclude>
 +
 
 +
<includeonly>
 +
{| class="wikitable"
 +
|-
 +
| style="background:red;"|
 +
| style="background:#fbcff4; width:100%;"|[[File:emblem-warning.png|32px|Warning]] Warning: {{{1}}}
 +
|-
 +
|}
 +
</includeonly>

Latest revision as of 15:55, 27 July 2022

Usage[edit]

Copy the text below wherever you need a text paragraph as a warning.

{{Warning
| 1 = Warning text here
}}

Example[edit]

Warning Warning: That was a warning!