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 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:

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