Difference between revisions of "Template:Danger"

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

Revision as of 03:22, 19 December 2013

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

DANGER! This is a danger that includes a 32px icon. {{danger|icon32=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}}