Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
{|class="{{{class|}}}" style="border:solid #00000; border-width:3px 3px 3px 3px; margin-left:{{{margin-left|10px}}}; margin-right:{{{margin-right|10px}}}; margin-top:{{{margin-top|8px}}}; margin-bottom:{{{margin-bottom|8px}}}; {{{other|}}}" width="{{{width|97%}}}" 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|97%}}}" align="{{{align|center}}}"
|style="border:solid #BA0000; border-width:1px 1px 1px 1px; background:none; text-align:{{{align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; {{{other|}}}"|{{redlight|text='''DANGER'''}} {{{1|{{{content|}}}}}}
+
|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}}}}''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} {{{1|{{{content|}}}}}}}}
 +
|}</includeonly>
 +
 
 +
<noinclude>{{danger| This is an example of the simple text. <nowiki> {{danger|text}}</nowiki>}}<br>
 +
{{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 20:26, 28 August 2013


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

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