Template:KBtip: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Zai Lynch (talk | contribs)
+Italian
Zai Lynch (talk | contribs)
+ Spanish
Line 3: Line 3:
       <td width="64" valign="top">[[Image:KBtip.png|64px]]</td>
       <td width="64" valign="top">[[Image:KBtip.png|64px]]</td>


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


{{KBbox/doc}} [[Category:KB Templates]]</noinclude>
{{KBbox/doc}} [[Category:KB Templates]]</noinclude>

Revision as of 13:43, 19 October 2009

Tip:

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

Example:

{{KBtip|Text goes here!}}

Which appears as:

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}}):

Tipp: Text goes here!

It may also display custom text with

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

would appear as

Your topic: Text goes here!

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

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