Difference between revisions of "Template:Warningbox"

From Bashlinux
Jump to: navigation, search
Line 6: Line 6:
 
|}
 
|}
 
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly>
 
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly>
  +
<noinclude>
 
  +
{{documentation}}
=== Template usage ===
 
  +
</noinclude>
The template can be invoked as follows:
 
 
<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:10, 3 June 2015


{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
   |{{#ifexist:{{#switch: Warningbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Warningbox/doc

}}

   |[[{{fullurl:{{#switch: Warningbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Warningbox/doc

}}}} view]] [[{{fullurl:{{#switch: Warningbox

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Warningbox/doc

}}|action=edit}} edit]] [[{{fullurl:{{#switch: Warningbox

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Warningbox/doc

}}|action=history}} history]] [[[:Template:Purge]]]

   |[[{{fullurl:{{#switch: Warningbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Warningbox/doc

}}|action=edit&preload=Template:Documentation/preload}} create]]

   }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|Ambox information blue.png Template documentation|Documentation}}}}
}}