Difference between revisions of "Template:KBcaution"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
<td width="64" valign="top">[[Image:KBcaution.png|64px|link=]]</td> | <td width="64" valign="top">[[Image:KBcaution.png|64px|link=]]</td> | ||
<td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = | <td>'''{{#if:{{{custom|}}}|{{{custom|}}}|{{#switch:{{#var:lang}}|/de = Wichtig|/ja = 注意|/pt = Importante|/it = Attenzione|/es = Atención|Important}}}}:''' {{{1|}}}</td> | ||
</tr> | </tr> | ||
</table></blockquote></onlyinclude><noinclude> | </table></blockquote></onlyinclude><noinclude> |
Revision as of 17:18, 21 April 2010
Important:
This is one in a series of templates used in Category:Knowledge Base.
Example:
{{KBcaution|Text goes here!}}
Which appears as:
Important: Text goes here!
Depending on the value of {{#var:lang}}, this template displays localized messages. Eg. for German (i.e. with {{#vardefine:lang|/de}}
):
Wichtig: 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!
When experiencing problems with this template, try the following markup:
{{KBcaution|1=Text goes here!}}