Difference between revisions of "Template:KBcaution"
Jump to navigation
Jump to search
(was "/de", rather than "de", right?) |
(doc) |
||
Line 17: | Line 17: | ||
{{KBcaution|Text goes here!}} | {{KBcaution|Text goes here!}} | ||
Depending on the value of <nowiki>{{#var:lang}}</nowiki>, this template displays localized messages. Eg. for German: {{#vardefine:lang|/de}} | |||
{{KBcaution|Text goes here!}} | |||
It may also display custom text with | |||
: <code><nowiki>{{KBcaution|custom=Your topic|Text goes here!}}</nowiki></code> | |||
would appear as | |||
{{KBcaution|custom=Your topic|Text goes here!}} | |||
[[Category:Box templates]]</noinclude> | [[Category:Box templates]]</noinclude> |
Revision as of 18:34, 2 October 2009
Caution:
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBcaution|Text goes here!}}
Which appears as:
Caution: Text goes here!
Depending on the value of {{#var:lang}}, this template displays localized messages. Eg. for German:
Achtung: Text goes here!
It may also display custom text with
{{KBcaution|custom=Your topic|Text goes here!}}
would appear as
Your topic: Text goes here!