Sorry for the inconvenience.  Known Navigation header breakage, its being "rebuilt."
There may be other unforeseen breakage primarily in the handbook portion of the wiki.
The Table Of Contents section of each "PC-BSD® Users Handbook" page may be the best workaround.

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|auto}}}" align="{{{align|center}}}"
+
<includeonly>{|class="messagebox warningbox"
|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: {{{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: {{{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|}}}}}}}}
+
|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{orangelight|'''{{word-warning{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
|}</includeonly>
+
|}</includeonly><noinclude>{{warning|this is an example of the simple text. <nowiki>{{warning|text}}</nowiki>}}<br>
 
+
{{warning|icon32=this is a warning that includes a 32px icon. <nowiki>{{warning|icon32=text}}</nowiki>}}<br>
<noinclude>{{warning| This is an example of the simple text. <nowiki> {{warning|text}}</nowiki>}}<br>
+
{{warning|icon48=this is a warning that includes a 48px icon. <nowiki>{{warning|icon48=text}}</nowiki>}}<br>
{{warning|icon64=Thus is a warning that includes a 64px icon. <nowiki> {{warning|icon64=text}}</nowiki>}}</noinclude>
+
{{warning|icon64=this is a warning that includes a 64px icon. <nowiki>{{warning|icon64=text}}</nowiki>}}
[[category:uses warning]]
+
<!-- The text content is either assigned to 'icon64' or 'icon48' or is the first content ('1') --></noinclude>[[category:uses warning]]<noinclude>[[category:templates]]</noinclude>

Revision as of 20:25, 19 December 2013

 Translations:Handbook translating/common/12  This is an example of the simple text. {{warning|text}}

Translations:Handbook translating/common/12 This is a warning that includes a 32px icon. {{warning|icon32=text}}

Translations:Handbook translating/common/12 This is a warning that includes a 48px icon. {{warning|icon48=text}}

Translations:Handbook translating/common/12 This is a warning that includes a 64px icon. {{warning|icon64=text}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox