Difference between revisions of "Template:WarningBox"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly> {{fmbox|image=[[File:{{{1}}}|40px|link=|alt=]]|text={{{2|}}} }}  <!--{{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; padding-top:1em;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:electricshock.png|25px|Warning|link=]]</span> '''Danger''': {{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table>}}
+
<includeonly> {{Ambox|image=[[File:{{{1}}}|40px|link=|alt=]]|text={{{2|}}}|type={{{3}}} }}</includeonly><noinclude>
--> </includeonly><noinclude>
+
 
 +
 
 +
<!--
 +
OLD
 +
{{fmbox|image=[[File:{{{1}}}|40px|link=|alt=]]|text={{{2|}}} }}  -->
 +
 
 +
<!--{{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; padding-top:1em;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:electricshock.png|25px|Warning|link=]]</span> '''Danger''': {{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table>}}
 +
-->  
 +
 
 
General warning template for various warnings in text.
 
General warning template for various warnings in text.
  
 
Test:
 
Test:
{{WarningBox|electricshock.png|'''Danger''': testsetsetse tet setset set}}
+
{{WarningBox|electricshock.png|'''Danger''': tes 2 testsetsetse tet setset set|style}}

Latest revision as of 22:57, 13 June 2013



General warning template for various warnings in text.

Test: