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: {{{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}}}}'''}} <span class=dangertext>{{{1|{{{content|}}}}}}</span>}}
+
<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>}}
 
</div></div></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>
{{danger|icon32=This is a danger that includes a 64px icon. <nowiki> {{danger|icon32=text}}</nowiki>}}<br>
+
{{danger|icon48=This is a danger that includes a 64px icon. <nowiki> {{danger|icon48=text}}</nowiki>}}<br>
 
{{danger|icon64=This is a danger that includes a 64px icon. <nowiki> {{danger|icon64=text}}</nowiki>}}</noinclude>
 
{{danger|icon64=This is a danger that includes a 64px icon. <nowiki> {{danger|icon64=text}}</nowiki>}}</noinclude>
 
[[category:uses danger]]
 
[[category:uses danger]]

Revision as of 00:04, 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|icon48=text}}

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

Variants
Actions
Navigation
Toolbox