Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div class=dangerbox><div class=dangertext>{{#if: {{{icon48|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|48px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|64px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon48|}}}}}}|{{{icon64|{{{icon48|}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} <span class=dangertext>{{{1|{{{content|}}}}}}</span>}}
+
<includeonly><div class=dangerbox><div class=dangercontent>{{#if: {{{icon48|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|48px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|64px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon48|}}}}}}|{{ucfirst:{{{icon64|{{{icon48|}}}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} <span class=dangertext>{{ucfirst:{{{1|{{{content|}}}}}}}}</span>}}
 
</div></div></includeonly><noinclude>{{danger| This is an example of the simple text. <nowiki> {{danger|text}}</nowiki>}}<br>
 
</div></div></includeonly><noinclude>{{danger| This is an example of the simple text. <nowiki> {{danger|text}}</nowiki>}}<br>
 
{{danger|icon48=This is a danger that includes a 48px icon. <nowiki> {{danger|icon48=text}}</nowiki>}}<br>
 
{{danger|icon48=This is a danger that includes a 48px icon. <nowiki> {{danger|icon48=text}}</nowiki>}}<br>

Revision as of 01:15, 19 December 2013

 DANGER!  This is an example of the simple text. {{danger|text}}

DANGER! This is a danger that includes a 48px icon. {{danger|icon48=text}}

DANGER! This is a danger that includes a 64px icon. {{danger|icon64=text}}