Template:Error: Difference between revisions

no edit summary
(Reimplemented to use a module instead)
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}}: Name of the HTML tag that wraps your error message. <code>strong</code> is used by default.
* {{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>
420

edits