Difference between revisions of "Template:KBtrivia"
Jump to navigation
Jump to search
(+ Spanish) |
|||
Line 1: | Line 1: | ||
<onlyinclude><blockquote><table width="65%" style="border: 1px solid #dddddd; background: #f9f9f9"> | <onlyinclude><blockquote><table width="65%" style="border: 1px solid #dddddd; background: #f9f9f9"> | ||
<tr> | <tr> | ||
<td width="64" valign="top">[[Image:KBtrivia.png|64px]]</td> | <td width="64" valign="top">[[Image:KBtrivia.png|64px|link=]]</td> | ||
<td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wissenswertes|/ja = トリビア|/pt = Trívia|/it = Curiosità|/es = Preguntas de trivia|Trivia}}}}:''' {{{1|}}}</td> | <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wissenswertes|/ja = トリビア|/pt = Trívia|/it = Curiosità|/es = Preguntas de trivia|Trivia}}}}:''' {{{1|}}}</td> |
Revision as of 13:40, 10 November 2009
Trivia:
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBtrivia|Text goes here!}}
Which appears as:
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}}
):
Wissenswertes: Text goes here!
It may also display custom text with
{{KBtrivia|custom=Your topic|Text goes here!}}
would appear as
Your topic: Text goes here!
When experiencing problems with this template, try the following markup:
{{KBtrivia|1=Text goes here!}}