Difference between revisions of "Template:Note"

From PC-BSD Wiki
Jump to: navigation, search
(oops)
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{|class="{{{class|}}}" style="border:solid #BABABA; border-width:2px 2px 2px 2px; border-collapse: collapse; margin-left:{{{margin-left|10px}}}; margin-right:{{{margin-right|10px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}}; {{{other|}}}" width="{{{width|97%}}}" align="{{{align|center}}}"
+
<includeonly>{|class="messagebox rnotebox {{{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|}}}"|
+
|{{#if: {{{icon32|}}}|[[File:note-msg-icon3.png|link=|class=messageboxicon|32px|borderless|'''{{word-note{{putLang}}}}''']]|}}{{#if: {{{icon48|}}}|[[File:note-msg-icon3.png|
{{#if: {{{icon|}}}|[[File:note-msg-icon3.png|link=|left|32px|borderless|'''{{word-note{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:note-msg-icon3.png|link=|left|64px|borderless|'''{{word-note{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|'''{{word-note{{putLang}}}}''' {{{1|{{{content|}}}}}}}}
+
link=|class=messageboxicon|48px|borderless|'''{{word-note{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:note-msg-icon3.png|link=|class=messageboxicon|64px|borderless|'''{{word-note{{putLang}}}}''']]|}}
|}</includeonly>
+
|{{#if: {{{icon64|{{{icon48|{{{icon32|}}}}}}}}}|{{ucfirst:{{{icon64|{{{icon48|{{{icon32|}}}}}}}}}}}|'''{{word-note{{putLang}}}}''' {{{1|{{{content|}}}}}}}}
 
+
|}</includeonly><noinclude>{{note|this is an example of the simple text. <nowiki>{{note|text}}</nowiki>}}<br/>
<noinclude>{{note| This is an example of the simple text. <nowiki> {{note|text}}</nowiki>}}<br>
+
{{note|icon32=this is a note that includes a 32px icon. <nowiki>{{note|icon32=text}}</nowiki>}}<br/>
{{note|icon64=Thus is a warning that includes a 64px icon. <nowiki> {{note|icon64=text}}</nowiki>}}</noinclude>
+
{{note|icon48=this is a note that includes a 48px icon. <nowiki>{{note|icon48=text}}</nowiki>}}<br/>
[[category:uses note]]<noinclude>[[category:templates]]</noinclude>
+
{{note|icon64=this is a note that includes a 64px icon. <nowiki>{{note|icon64=text}}</nowiki>}}
 +
<!-- The text content is either assigned to 'icon64' or 'icon48' or is the first content ('1') --></noinclude>[[category:uses note]]<noinclude>[[category:templates]]</noinclude>

Revision as of 00:16, 20 December 2013

Template:Word-note this is an example of the simple text. {{note|text}}

NOTE: This is a note that includes a 32px icon. {{note|icon32=text}}

NOTE: This is a note that includes a 48px icon. {{note|icon48=text}}

NOTE: This is a note that includes a 64px icon. {{note|icon64=text}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox