Difference between revisions of "Template:Danger"

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

Revision as of 00:50, 19 December 2013


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

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

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