Template:Warningbox: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
Manpaz (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><div style="display: table; background-color: #fff3f3; border: 1px solid #a00; margin: 0.5em 1em 0 1em; padding: 6px; " class="blnx_warningbox">
<includeonly><div style="display: table; background-color: #fff3f3; border: 1px solid #a00; margin: 0.5em 1em 0 1em; padding: 6px; " class="blnx_warningbox">
{|
{|
| - 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>

<noinclude>
=== Template usage ===
{{documentation}}
The template can be invoked as follows:
</noinclude>

<pre style="white-space: pre-wrap;">
{{Warningbox|Warning box|This is a paragraph with some warning message for the user}}
</pre>

...which produces the following warning box:

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

Revision as of 00:34, 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:

Warning2
'''{{{1}}}'''

This is a paragraph with some warning message for the user

{{#ifeq:Template||}}

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:

Template loop detected: Template:Warningbox