Difference between revisions of "Template:Warning"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{|class="messagebox warningbox {{{class|}}}"
 
<includeonly>{|class="messagebox warningbox {{{class|}}}"
|{{#if: {{{icon32|}}}|[[File:warning-msg-icon.png|link=|class=messageboxicon|32px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon48|}}}|[[File:warning-msg-icon.png|link=|class=messageboxicon|48px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|link=|class=messageboxicon|64px|borderless|'''{{word-warning{{putLang}}}}''']]|}}
+
|{{#if: {{{icon32|}}}|[[File:warning-msg-icon.png|link=|class=messageboxicon|32px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon48|}}}|[[File:warning-msg-icon.png|
 +
link=|class=messageboxicon|48px|borderless|'''{{word-warning{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|link=|class=messageboxicon|64px|borderless|'''{{word-warning{{putLang}}}}''']]|}}
 
|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{orangelight|'''{{word-warning{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
 
|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{orangelight|'''{{word-warning{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
 
|}</includeonly><noinclude>{{warning|this is an example of the simple text. <nowiki>{{warning|text}}</nowiki>}}<br/>
 
|}</includeonly><noinclude>{{warning|this is an example of the simple text. <nowiki>{{warning|text}}</nowiki>}}<br/>
Line 6: Line 7:
 
{{warning|icon48=this is a warning that includes a 48px icon. <nowiki>{{warning|icon48=text}}</nowiki>}}<br/>
 
{{warning|icon48=this is a warning that includes a 48px icon. <nowiki>{{warning|icon48=text}}</nowiki>}}<br/>
 
{{warning|icon64=this is a warning that includes a 64px icon. <nowiki>{{warning|icon64=text}}</nowiki>}}
 
{{warning|icon64=this is a warning that includes a 64px icon. <nowiki>{{warning|icon64=text}}</nowiki>}}
<!-- The text content is either assigned to 'icon64' or 'icon48' or is the first content ('1') --></noinclude>
+
<!-- The text content is either assigned to 'icon64' or 'icon48' or is the first content ('1') --></noinclude>[[category:uses warning]]<noinclude>[[category:templates]]</noinclude>
[[category:uses warning]]<noinclude>[[category:templates]]</noinclude>
+

Revision as of 23:43, 19 December 2013

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

WARNING This is a warning that includes a 32px icon. {{warning|icon32=text}}

WARNING This is a warning that includes a 48px icon. {{warning|icon48=text}}

WARNING This is a warning that includes a 64px icon. {{warning|icon64=text}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox