Difference between revisions of "Template:KBwarning"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) (Add optional width parameter) |
|||
Line 1: | Line 1: | ||
<onlyinclude><blockquote><table width="65%" style="border: 1px solid #e65f54; background: #ffcccc; color: black; width: 65%; min-width: 400px;"> | <onlyinclude><blockquote><table width="{{{width|65%}}}" style="border: 1px solid #e65f54; background: #ffcccc; color: black; width: 65%; min-width: 400px;"> | ||
<tr> | <tr> | ||
<td width="64" valign="top">[[Image:KBwarning.png|64px|link=]]</td> | <td width="64" valign="top">[[Image:KBwarning.png|64px|link=]]</td> | ||
Line 6: | Line 6: | ||
</tr> | </tr> | ||
</table></blockquote></onlyinclude><noinclude> | </table></blockquote></onlyinclude><noinclude> | ||
Now has optional width parameter so you can make it wider than 65%. | |||
{{KBbox/doc}} [[Category:KB Templates]]</noinclude> | {{KBbox/doc}} [[Category:KB Templates]]</noinclude> |
Revision as of 15:28, 22 September 2010
Warning:
Now has optional width parameter so you can make it wider than 65%.
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!}}