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]]
| <span style="color: #a00">{{#if:{{{1|}}}|'''{{{1}}}'''}}</span><br/>
| {{#if:{{{1|}}}|<pre style="color: red">'''{{{1}}}'''</pre>}}<br>{{#if:{{{2|}}}|{{{2}}}}}
| - <span style="font-size: 100%">
|{{#if:{{{2|}}}|{{{2}}}}} </span>
|}
|}
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly><noinclude>
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly>

{{documentation}}
=== Template usage ===
=== Template usage ===
The template can be invoked as follows:
The template can be invoked as follows:
Line 18: Line 16:
...which produces the following warning box:
...which produces the following warning box:


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

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

style="vertical-align: top;" Warning2
'''{{{1}}}'''
}}
{{#if: This is a paragraph with some warning message for the user| 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