Difference between revisions of "Template:KBnote"

From Second Life Wiki
Jump to navigation Jump to search
(same problem as Template:KBcaution)
(i18n)
Line 3: Line 3:
       <td width="64">[[Image:Icons_parature_note.jpg]]</td>
       <td width="64">[[Image:Icons_parature_note.jpg]]</td>


       <td>{{{1|}}}</td>
       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Hinweis|/fr = Remarque|Note}}}}:''' {{{1|}}}</td>
     </tr>
     </tr>
</table></blockquote></onlyinclude><noinclude>
</table></blockquote></onlyinclude><noinclude>


This is one in a series of templates used in [[:Category:Knowledge Base]].
{{KBbox/doc}}</noinclude>
 
Example:
 
: <code><nowiki>{{KBnote|Text goes here!}}</nowiki></code>
 
Which appears as:
 
{{KBnote|Text goes here!}}
 
[[Category:Box templates]]</noinclude>

Revision as of 19:12, 2 October 2009

Icons parature note.jpg Note:

This is one in a series of templates used in Category:Knowledge Base.

Example:

{{KBnote|Text goes here!}}

Which appears as:

Icons parature note.jpg Note: Text goes here!

Depending on the value of {{#var:lang}}, this template displays localized messages. Eg. for German (i.e. with {{#vardefine:lang|/de}}):

Icons parature note.jpg Hinweis: Text goes here!

It may also display custom text with

{{KBnote|custom=Your topic|Text goes here!}}

would appear as

Icons parature note.jpg Your topic: Text goes here!

When experiencing problems with this template, try the following markup:

{{KBnote|1=Text goes here!}}