Difference between revisions of "Template:Warning"

From Wiki.OSArch
m
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>
<noinclude>[[Category:Templates]]</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=
 +
The first example includes all available field, but use only the ones you think are valuable for a page. We're filling in an infobox - not writing a phD!
 +
 
 +
{{Warning
 +
| 1 = That was a warning!
 +
}}
 +
</noinclude>
 +
 
 +
<includeonly>
 +
{| class="wikitable" style="bgcolor="#fbcff4"
 +
|-
 +
| [[File:emblem-warning.png|32px|Warning]] Warning: {{{1}}}
 +
|-
 +
|}
 +
</includeonly>

Revision as of 14:54, 27 July 2022

Usage

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

{{Warning
| 1 = Warning text here
}}

Example

The first example includes all available field, but use only the ones you think are valuable for a page. We're filling in an infobox - not writing a phD!



Warning Warning: That was a warning!