Difference between revisions of "Template:KBwarning"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<onlyinclude><blockquote><table width="80%" style="border: 1px solid #dddddd; background: #ffcccc"> | <onlyinclude><blockquote><table width="80%" style="border: 1px solid #dddddd; background: #ffcccc"> | ||
<tr> | <tr> | ||
<td width="64">[[Image: | <td width="64">[[Image:KBwarning.jpg]]</td> | ||
<td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Achtung|Warning}}}}:''' {{{1|}}}</td> | <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Achtung|Warning}}}}:''' {{{1|}}}</td> |
Revision as of 14:17, 8 October 2009
File:KBwarning.jpg Warning:
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBwarning|Text goes here!}}
Which appears as:
File:KBwarning.jpg Warning: Text goes here!
Depending on the value of {{#var:lang}}, this template displays localized messages. Eg. for German (i.e. with {{#vardefine:lang|/de}}
):
File:KBwarning.jpg Achtung: Text goes here!
It may also display custom text with
{{KBwarning|custom=Your topic|Text goes here!}}
would appear as
File:KBwarning.jpg Your topic: Text goes here!
When experiencing problems with this template, try the following markup:
{{KBwarning|1=Text goes here!}}