Difference between revisions of "Template:Danger"

From PC-BSD Wiki
Jump to: navigation, search
 
(56 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{|class="{{{class|}}}" style="border:solid #BA0000; 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><onlyinclude>{|class="messagebox rdangerbox {{{class|}}}"
|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="border:none"|{{#if: {{{icon32|}}}|[[File:danger-msg-icon2.png|
{{#if: {{{icon32|}}}
+
link=|class=messageboxicon|32px|borderless|'''{{putCommon|13}}''']]|}}{{#if: {{{icon48|}}}|[[File:danger-msg-icon2.png|
  |[[File:danger-msg-icon2.png|link=|left|32px|borderless|'''{{word-danger{{putLang}}}}''']] {{ucfirst:{{{1|}}}}} 1
+
link=|class=messageboxicon|48px|borderless|'''{{putCommon|13}}''']]|}}{{#if: {{{icon64|}}}|[[File:danger-msg-icon2.png|
  |}}
+
link=|class=messageboxicon|64px|borderless|'''{{putCommon|13}}''']]|}}
{{#if: {{{icon64|}}}
+
|style="border:none"|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|{{redlight|'''{{putCommon|13}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}}}}
  |[[File:danger-msg-icon2.png|link=|left|64px|borderless|'''{{word-danger{{putLang}}}}''']] {{ucfirst:{{{1|}}}}} 2
+
|}</onlyinclude>[[category:uses note]]</includeonly>
  |}}
+
<noinclude>[[category:templates]]
{{#ifeq: {{{icon64}}}|{{{icon32}}}
+
{{danger|this is an example of the simple text version.     <nowiki>{{danger|       text}}</nowiki>}}{{br}}
  |{{redlight|'''{{word-danger{{putLang}}}}'''}} {{ucfirst:{{{1|{{{content|}}}}}}}} 3
+
{{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}}
  {{ucfirst:{{{1|{{{content|}}}}}}}}
+
|}</includeonly>
+
 
+
<noinclude>{{danger|this is an example of the simple text. <nowiki>{{danger|text}}</nowiki>}}<br>
+
{{danger|icon32=this is a danger that includes a 32x icon. <nowiki>{{danger|icon32text}}</nowiki>}}<br>
+
 
{{danger|icon64=this is a danger that includes a 64px icon. <nowiki>{{danger|icon64=text}}</nowiki>}}</noinclude>
 
{{danger|icon64=this is a danger that includes a 64px icon. <nowiki>{{danger|icon64=text}}</nowiki>}}</noinclude>
[[category:uses danger]]
 

Latest revision as of 01:15, 6 February 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