Difference between revisions of "Template:Warningbox"

From Bashlinux
Jump to: navigation, search
Line 3: Line 3:
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| style="width: 56px;"|[[File:Ambox warning red.png|link=|40px|Warning2]]
 
| style="width: 56px;"|[[File:Ambox warning red.png|link=|40px|Warning2]]
| <pre style="color: red">'''{{{1}}}'''</pre><br>{{{2}}}
+
|<pre style="color: red">'''{{{1}}}'''</pre><br>{{{2}}}
 
|}
 
|}
 
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly>
 
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly>

Revision as of 00:35, 3 June 2015


Template usage

The template can be invoked as follows:

{{Warningbox|Warning box|This is a paragraph with some warning message for the user}}

...which produces the following warning box:

Error creating thumbnail: File missing
Warning box
This is a paragraph with some warning message for the user