Difference between revisions of "Template:Err/doc"

From blackwiki
Jump to navigation Jump to search
imported>NYKevin
(Create the doc. page)
 
imported>Plastikspork
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Error/doc]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
 
=== Usage ===
 
 
 
Use this template when you need to show a serious (fatal) error resulting from improper user input.  Usually, it is best to simply show the error message from the appropriate parser function (in which case this template is not needed), but there are times when custom error messages are useful.  Please do not use this on article pages directly, as it is likely quite useless and probably in violation of content policies.
 
 
 
<code>{{tlx|err|error message}}</code>
 
 
 
produces:
 
 
 
{{err|error message}}
 
 
 
This should be more specific than the default, and if possible, should give instructions for a "quick fix".  There are no real rules for error messages, but, by analogy with the errors arising from parser functions, it appears that capitalization of the first letter is preferred.
 
 
 
=== See also ===
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
 
</includeonly>
 

Latest revision as of 01:15, 15 April 2013

Redirect to: