Difference between revisions of "Template:Warning"

From PC-BSD Wiki
Jump to: navigation, search
(Created page with "{|class="{{{class|}}}" style="border:solid #8B5A00; border-width:2px 2px 2px 2px; border-collapse: collapse; margin-left:{{{margin-left|12px}}}; margin-right:{{{margin-right|1...")
 
Line 1: Line 1:
{|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|left|32px|borderless|'''WARNING''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|left|64px|borderless|'''WARNING''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|{{orangelight|'''WARNING'''}} {{{1|{{{content|}}}}}}}}
|}
+
|}</includeonly>
 +
 
 +
<noinclude>{{warning| This is an example of the simple text. <nowiki> {{warning{{pipe}} text}}</nowiki>}}<br>
 +
{{warning|icon64=Thus is a warning that includes a 64px icon. <nowiki> {{warning{{pipe}}icon64=text}}</nowiki>}}</noinclude>
 
[[category:uses warning]]
 
[[category:uses warning]]

Revision as of 02:35, 21 April 2013


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

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