420
edits
HyperNervie (talk | contribs) (Reimplemented to use a module instead) |
HyperNervie (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
Parameters: | Parameters: | ||
* {{param|1}}: The error message. e.g. {{tl|Error|An error message}} yields {{Error|An error message}}. | * {{param|1}}: The error message. e.g. {{tl|Error|An error message}} yields {{Error|An error message}}. | ||
* {{param|tag}}: | * {{param|tag}}: ''Case-insensitive'' name of the HTML tag that wraps your error message. <code>strong</code>, <code>span</code>, <code>p</code> and <code>div</code> are accepted. If this argument is not given or doesn't match any of these four, <code>strong</code> is used. | ||
This template is inspired by [[mw:Template:Error|the eponymous template]] on mediawiki.org. Go there and you can learn more. | This template is inspired by [[mw:Template:Error|the eponymous template]] on mediawiki.org. Go there and you can learn more. | ||
}} | }} | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> | ||
edits