Difference between revisions of "Template:Caveat"

From PC-BSD Wiki
Jump to: navigation, search
(Created page with "<includeonly>{|class="caveatbox" style="border:solid #000000; border-width:1px 1px 1px 1px; border-collapse: collapse; margin-left:{{{margin-left|10px}}}; margin-right:{{{marg...")
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{|class="caveatbox" style="border:solid #000000; border-width:1px 1px 1px 1px; border-collapse: collapse; margin-left:{{{margin-left|10px}}}; margin-right:{{{margin-right|10px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}};" width="{{{width|98%}}}" align="{{{align|center}}}"
+
<includeonly>{|class="caveatbox" style="border:solid #000000; border-width:1px 1px 1px 1px; border-collapse: collapse; margin-left:{{{margin-left|10px}}}; margin-right:{{{margin-right|10px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}};" width="{{{width|auto}}}" align="{{{align|center}}}"
 
|style="background:#FFFFFF; text-align:{{{txt-align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border:solid #000000; border-width:0px 1px 1px 0px;"|
 
|style="background:#FFFFFF; text-align:{{{txt-align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border:solid #000000; border-width:0px 1px 1px 0px;"|
{{#if: {{{icon|}}}|[[File:Caveat-icon64.png|link=|left|32px|borderless|'''{{word-caveat{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:Caveat-icon64.png|link=|left|64px|borderless|'''{{word-caveat{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|'''{{word-caveat{{putLang}}}}''' {{{1|{{{content|}}}}}}}}
+
{{#if: {{{icon|}}}|[[File:Caveat-icon64.png|link=|left|32px|borderless|'''{{:word-caveat{{putLang}}}}''']]|}}{{#if: {{{icon64|}}}|[[File:Caveat-icon64.png|link=|left|64px|borderless|'''{{:word-caveat{{putLang}}}}''']]|}}{{#if: {{{icon64|{{{icon|}}}}}}|{{{icon64|{{{icon|}}}}}}|'''{{:word-caveat{{putLang}}}}''' {{{1|{{{content|}}}}}}}}
 
|}</includeonly>
 
|}</includeonly>
  
<noinclude>{{note| This is an example of the simple text. <nowiki> {{note|text}}</nowiki>}}<br>
+
<noinclude>{{caveat| This is an example of the simple text. <nowiki> {{caveat|text}}</nowiki>}}<br>
{{note|icon64=This is a note that includes a 64px icon. <nowiki> {{note|icon64=text}}</nowiki>}}</noinclude>
+
{{caveat|icon64=This is a note that includes a 64px icon. <nowiki> {{caveat|icon64=text}}</nowiki>}}</noinclude>
 
[[category:uses note]]<noinclude>[[category:templates]]</noinclude>
 
[[category:uses note]]<noinclude>[[category:templates]]</noinclude>

Latest revision as of 00:57, 14 February 2014


Caveat: This is an example of the simple text. {{caveat|text}}


Caveat:
This is a note that includes a 64px icon. {{caveat|icon64=text}}