Sorry for the inconvenience.  Chance of typos in templates, the navigation header should be functional for most versions of the handbook.
Potential remains for unforeseen breakage primarily in the handbook portion of the wiki.
Notice will be up until above verified and no other troubles found from recent modifications.

Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
 
(16 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{|class=dangertext
+
<includeonly>{|class="messagebox rdangerbox {{{class|}}}"
|-
+
|{{#if: {{{icon32|}}}|[[File:danger-msg-icon2.png|link=|class=messageboxicon|32px|borderless|'''{{:Translations:Handbook_translating/common/13{{putLang}}}}''']]|}}{{#if: {{{icon48|}}}|[[File:danger-msg-icon2.png|link=|class=messageboxicon|48px|borderless|'''{{:Translations:Handbook_translating/common/13{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|class=messageboxicon|64px|borderless|'''{{:Translations:Handbook_translating/common/13{{putLang}}}}''']]|}}
|class=dangerbox|{{#if: {{{icon32|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|32px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon48|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|48px|borderless|'''{{word-danger{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|link=|class=dangericon|64px|borderless|'''{{word-danger{{putLang}}}}''']]|}}
+
|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{redlight|'''{{:Translations:Handbook_translating/common/13{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
|class=dangercontent|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{redlight|'''{{word-danger{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
+
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{danger|this is an example of the simple text. <nowiki> {{danger|text}}</nowiki>}}<br>
+
{{danger|this is an example of the simple text version.     <nowiki>{{danger|       text}}</nowiki>}}<br/>
{{danger|icon32=this is a danger that includes a 32px icon. <nowiki> {{danger|icon32=text}}</nowiki>}}<br>
+
{{danger|icon32=this is a danger that includes a 32px icon. <nowiki>{{danger|icon32=text}}</nowiki>}}<br/>
{{danger|icon48=this is a danger that includes a 48px icon. <nowiki> {{danger|icon48=text}}</nowiki>}}<br>
+
{{danger|icon48=this is a danger that includes a 48px icon. <nowiki>{{danger|icon48=text}}</nowiki>}}<br/>
{{danger|icon64=this is a danger that includes a 64px icon. <nowiki> {{danger|icon64=text}}</nowiki>}}
+
{{danger|icon64=this is a danger that includes a 64px icon. <nowiki>{{danger|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 danger]]<noinclude>[[category:templates]]</noinclude>
[[category:uses danger]]
+

Latest revision as of 20:06, 20 January 2015

 DANGER!  This is an example of the simple text version. {{danger| text}}

DANGER! This is a danger that includes a 32px icon. {{danger|icon32=text}}

DANGER! This is a danger that includes a 48px icon. {{danger|icon48=text}}

DANGER! This is a danger that includes a 64px icon. {{danger|icon64=text}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox