Difference between revisions of "Template:Warning"

From PC-BSD Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
{|class="messagebox rwarningbox {{{class|}}}"
 
{|class="messagebox rwarningbox {{{class|}}}"
 
|{{#if: {{{icon32|}}}|[[File:warning-msg-icon.png|
 
|{{#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|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|48px|borderless|'''{{:word-warning{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:warning-msg-icon.png|
link=|class=messageboxicon|64px|borderless|'''{{word-warning{{putLang}}}}''']]|}}
+
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|}}}}}}}}}}
 
|}[[category:uses warning]]</includeonly><noinclude>[[category:templates]]
 
|}[[category:uses warning]]</includeonly><noinclude>[[category:templates]]
 
{{warning|this is an example of the simple text version.      <nowiki>{{warning|      text}}</nowiki>}}<br/>
 
{{warning|this is an example of the simple text version.      <nowiki>{{warning|      text}}</nowiki>}}<br/>

Latest revision as of 03:16, 11 February 2014


 WARNING  This is an example of the simple text version. {{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}}