Difference between revisions of "Template:KBtrivia"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
       <td width="64" valign="top">[[Image:KBtrivia.png|64px]]</td>
       <td width="64" valign="top">[[Image:KBtrivia.png|64px]]</td>


       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wissenswertes|/ja = トリビア|/pt = Trívia|Trivia}}}}:''' {{{1|}}}</td>
       <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wissenswertes|/ja = トリビア|/pt = Trívia|/it = Curiosità|Trivia}}}}:''' {{{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 16:47, 14 October 2009

KBtrivia.png Trivia:

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

Example:

{{KBtrivia|Text goes here!}}

Which appears as:

KBtrivia.png Trivia: Text goes here!

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

KBtrivia.png Wissenswertes: Text goes here!

It may also display custom text with

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

would appear as

KBtrivia.png Your topic: Text goes here!

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

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