Difference between revisions of "Template:KBnote"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
Fritz Linden (talk | contribs) |
||
Line 1: | Line 1: | ||
<onlyinclude><table style="border: 1px solid #dddddd; background: #f9f9f9; color: black; width: {{{width|85%}}}; min-width: 400px; margin-right: 20px; margin-left: 20px; | <onlyinclude><table style="border: 1px solid #dddddd; background: #f9f9f9; color: black; width: {{{width|85%}}}; min-width: 400px; margin-right: 20px; margin-left: 20px;> | ||
<tr> | <tr> | ||
<td width="32" valign="top">[[ | <td width="32" valign="top">[[File:KBnote.png|link=]]</td> | ||
<td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Hinweis:|/fr = Remarque :|/ja = メモ:|/pt = Observação:|/it = Nota:|/es = Nota:|Note:}}}}''' {{{1|}}}</td> | <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Hinweis:|/fr = Remarque :|/ja = メモ:|/pt = Observação:|/it = Nota:|/es = Nota:|Note:}}}}''' {{{1|}}}</td> |
Revision as of 14:28, 17 September 2015
Note: |
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBnote|Text goes here!}}
Which appears as:
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}}
):
Hinweis: Text goes here! |
It may also display custom text with
{{KBnote|custom=Your topic|Text goes here!}}
would appear as
Your topic Text goes here! |
When experiencing problems with this template, try the following markup:
{{KBnote|1=Text goes here!}}