Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{|class="{{{class|}}}" style="border:solid #BA0000; border-width:2px 2px 2px 2px; border-collapse: collapse; margin-left:{{{margin-left|12px}}}; margin-right:{{{margin-right|12px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}}; {{{other|}}}" width="{{{width|auto}}}" align="{{{align|center}}}"
 
<includeonly>{|class="{{{class|}}}" style="border:solid #BA0000; border-width:2px 2px 2px 2px; border-collapse: collapse; margin-left:{{{margin-left|12px}}}; margin-right:{{{margin-right|12px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}}; {{{other|}}}" width="{{{width|auto}}}" align="{{{align|center}}}"
 
|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: {{{icon|}}}|[[File:danger-msg-icon2.png|link=|left|32px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|left|64px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#ifeq: {{{icon64|}}}|{{{icon32|}}}|{{{icon64|{{{icon|}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} {{{1|{{{content|}}}}}}}}
+
{{#if: {{{icon32|}}}|[[File:danger-msg-icon2.png|link=|left|32px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|left|64px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon32|}}}}}}|{{{icon64|{{{icon32|}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} {{{1|{{{content|}}}}}}}}
 
|}</includeonly>
 
|}</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|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:49, 18 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}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox