Difference between revisions of "Template:KBtrivia"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><table style="border: 1px dashed rgb(127, 124, 117);" cellpadding="3" width="600">
<onlyinclude><table style="border: 1px solid #dddddd; background: #f9f9f9; width: {{{width|75%}}}; min-width: 400px; margin-left: 20px; margin-right: 20px;">
        <tr>
    <tr>
            <td style="border: 1px dashed rgb(127, 124, 117);" width="80"><imagemap>
      <td width="32" valign="top">[[Image:KBtrivia.png|32px|link=]]</td>
Image:Help-Portal-Head.png|75px
poly 0 0 [[Help Portal]]
desc none
</imagemap></td>
            <td style="border: 1px dashed rgb(127, 124, 117);">{{{1|}}}</td>


        </tr>
      <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wissenswertes:|/ja = トリビア:|/pt = Trívia:|/it = Curiosità:|/es = Preguntas de trivia:|/fr = Trivia :|Trivia:}}}}''' {{{1|}}}</td>
</table></includeonly></onlyinclude>
    </tr>
This box is an adaption of the trivia box used in {{slkb|5046|Media on a parcel}} and supposed to be used at KB translations which are using such a box. Syntax:  
</table></onlyinclude><noinclude>
<nowiki>{{KBtrivia|Trivia: Some content}}</nowiki>
which would result in


{{KBtrivia|Trivia: Some content}}
{{KBbox/doc}} [[Category:KB Templates]]</noinclude>

Latest revision as of 15:11, 9 December 2010

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!}}