Difference between revisions of "Template:Warning"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{|class="{{{class|}}}" style="border:solid #8B5A00; 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}}}"
 
<includeonly>{|class="{{{class|}}}" style="border:solid #8B5A00; 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="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:warning-msg-icon.png|left|32px|borderless|'''WARNING''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|left|64px|borderless|'''WARNING''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|{{orangelight|'''WARNING'''}} {{{1|{{{content|}}}}}}}}
+
{{#if: {{{icon|}}}|[[File:warning-msg-icon.png|link=|left|32px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|link=|left|64px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|{{orangelight|'''{{word-warning{{putLang}}}}'''}} {{{1|{{{content|}}}}}}}}
 
|}</includeonly>
 
|}</includeonly>
  

Revision as of 19:49, 28 August 2013


 WARNING  This is an example of the simple text. {{warning|text}}

WARNING Thus is a warning that includes a 64px icon. {{warning|icon64=text}}