Difference between revisions of "Template:KBnote"

From Second Life Wiki
Jump to navigation Jump to search
(+ ja & pt)
Line 3: Line 3:
       <td width="64"  valign="top">[[Image:KBnote.png|64px]]</td>
       <td width="64"  valign="top">[[Image:KBnote.png|64px]]</td>


       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Hinweis|/fr = Remarque|Note}}}}:''' {{{1|}}}</td>
       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Hinweis|/fr = Remarque|/ja = メモ|/pt = Observação|Note}}}}:''' {{{1|}}}</td>
     </tr>
     </tr>
</table></blockquote></onlyinclude><noinclude>
</table></blockquote></onlyinclude><noinclude>


{{KBbox/doc}}</noinclude>
{{KBbox/doc}}</noinclude>

Revision as of 17:13, 8 October 2009

KBnote.png Note:

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

Example:

{{KBnote|Text goes here!}}

Which appears as:

KBnote.png 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}}):

KBnote.png Hinweis: Text goes here!

It may also display custom text with

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

would appear as

KBnote.png Your topic: Text goes here!

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

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