Difference between revisions of "Template:KBtip"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<onlyinclude><blockquote><table style="border: 1px solid #ffc000; background: #ffffaa; color: black; width: 90%; min-width: 400px;">
<onlyinclude><blockquote><table style="border: 1px solid #ffc000; background: #ffffaa; color: black; width: 90%; min-width: 400px;">
     <tr>
     <tr>
       <td width="64" valign="top">[[Image:KBtip.png|32px|link=]]</td>
       <td width="32" valign="top">[[Image:KBtip.png|32px|link=]]</td>


       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Tipp:|/ja = ヒント:|/pt = Dica:|/it = Suggerimento:|/es = Sugerencia:|/fr = Astuce :|Tip:}}}}''' {{{1|}}}</td>
       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Tipp:|/ja = ヒント:|/pt = Dica:|/it = Suggerimento:|/es = Sugerencia:|/fr = Astuce :|Tip:}}}}''' {{{1|}}}</td>

Revision as of 09:29, 9 December 2010

KBtip.png Tip:

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

Example:

{{KBtip|Text goes here!}}

Which appears as:

KBtip.png Tip: Text goes here!

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

KBtip.png Tipp: Text goes here!

It may also display custom text with

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

would appear as

KBtip.png Your topic Text goes here!

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

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