Difference between revisions of "Template:KBwarning"
Jump to navigation
Jump to search
m (same problem as Template:KBcaution) |
(i18n) |
||
Line 3: | Line 3: | ||
<td width="64">[[Image:Icons_parature_warning.jpg]]</td> | <td width="64">[[Image:Icons_parature_warning.jpg]]</td> | ||
<td>{{{1|}}}</td> | <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Achtung|Warning}}}}:''' {{{1|}}}</td> | ||
</tr> | </tr> | ||
</table></blockquote></onlyinclude><noinclude> | </table></blockquote></onlyinclude><noinclude> | ||
{{KBbox/doc}}</noinclude> | |||
Revision as of 18:22, 2 October 2009
Warning:
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBwarning|Text goes here!}}
Which appears as:
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}}
):
Achtung: Text goes here!
It may also display custom text with
{{KBwarning|custom=Your topic|Text goes here!}}
would appear as
Your topic: Text goes here!
When experiencing problems with this template, try the following markup:
{{KBwarning|1=Text goes here!}}