Difference between revisions of "Template:KBnote"

From Second Life Wiki
Jump to navigation Jump to search
m (will replace icon later... Wikimedia postponed licensing announcement to May15th)
 
 
(49 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><table style="border: 1px dashed rgb(127, 124, 117);" cellpadding="3" width="80%">
<onlyinclude><table style="border: 1px solid #dddddd; background: #f9f9f9; color: black; width: {{{width|85%}}}; min-width: 400px; margin-right: 20px; margin-left: 20px; margin-top: 10px; margin-bottom: 10px;">
        <tr>
    <tr>
            <td style="border: 1px dashed rgb(127, 124, 117);" width="80"><imagemap>
      <td width="32" valign="top">[[File:KBnote.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 = Hinweis:|/fr = Remarque :|/ja = メモ:|/pt = Observação:|/it = Nota:|/es = Nota:|Note:}}}}''' {{{1|}}}</td>
</table></includeonly></onlyinclude>
    </tr>
This box is an adaption of the trivia box used in {{slkb|4567|Group Roles}} and supposed to be used at KB translations which are using such a box. Syntax:  
</table></onlyinclude><noinclude>
<nowiki>{{KBnote|Note: Some content}}</nowiki>
which would result in


{{KBnote|Note: Some content}}
{{KBbox/doc}} [[Category:KB Templates]]</noinclude>
[[Category:Box templates]]

Latest revision as of 14:48, 17 September 2015

KBnote.png Note:

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

Example:

{{KBnote|Text goes here!}}

Which appears as:

KBnote.png Note: Text goes here!

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

KBnote.png Hinweis: Text goes here!

It may also display custom text with

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

would appear as

KBnote.png Your topic Text goes here!

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

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