Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|style="background:#FFFFFF; text-align:{{{txt-align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border:solid #BABFA3; border-width:0px 1px 1px 0px; {{{other|}}}"|
 
|style="background:#FFFFFF; text-align:{{{txt-align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border:solid #BABFA3; border-width:0px 1px 1px 0px; {{{other|}}}"|
 
{{#if: {{{icon32|}}}
 
{{#if: {{{icon32|}}}
   |[[File:danger-msg-icon2.png|link=|left|32px|borderless|'''{{word-danger{{putLang}}}}''']] {{ucfirst:{{{1|}}}}} 1
+
   |[[File:danger-msg-icon2.png|link=|left|32px|borderless|'''{{word-danger{{putLang}}}}''']]
 
   |}}
 
   |}}
 
{{#if: {{{icon64|}}}
 
{{#if: {{{icon64|}}}
   |[[File:danger-msg-icon2.png|link=|left|64px|borderless|'''{{word-danger{{putLang}}}}''']] {{ucfirst:{{{1|}}}}} 2
+
   |[[File:danger-msg-icon2.png|link=|left|64px|borderless|'''{{word-danger{{putLang}}}}''']]
 
   |}}
 
   |}}
 
{{#ifeq: {{{icon64}}}|{{{icon32}}}
 
{{#ifeq: {{{icon64}}}|{{{icon32}}}
   |{{redlight|'''{{word-danger{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}} 3
+
   |{{redlight|'''{{word-danger{{putLang}}}}'''}}
 
   |}}
 
   |}}
 
   {{ucfirst:{{{1|{{{content|}}}}}}}}
 
   {{ucfirst:{{{1|{{{content|}}}}}}}}
Line 14: Line 14:
  
 
<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 32x icon. <nowiki>{{danger|icon32text}}</nowiki>}}<br>
+
{{danger|icon32=this is a danger that includes a 32x icon. <nowiki>{{danger|icon32=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 22:38, 18 December 2013


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

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

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

Variants
Actions
Navigation
Toolbox