Difference between revisions of "Template:Citation error/doc"

From blackwiki
Jump to navigation Jump to search
imported>Timrollpickering
m (per CFR)
imported>Gadget850
(error category; markup)
Line 12: Line 12:
 
The {{tl|para}} template can be used to show parameters.
 
The {{tl|para}} template can be used to show parameters.
  
Only main, help and template pages will show this message; these pages will be placed into [[:Category:Articles with incorrect citation syntax]].
+
All pages will show the error message. Main, help and template pages will be placed into [[:Category:Articles with incorrect citation syntax]] unless {{para|nocat|true}}.
  
 
=== Example ===
 
=== Example ===
<pre>{{Citation error|no {{para|title}} specified|Cite web}}</pre>
 
  
{{Citation error|no {{para|title}} specified|Cite web|nocat=true}}
+
{{markup
 +
|<nowiki>{{Citation error|no {{para|title}} specified|Cite web}}</nowiki>
 +
|{{Citation error|no {{para|title}} specified|Cite web|nocat=true}}
 +
}}
  
 
=== See also ===
 
=== See also ===

Revision as of 13:59, 26 February 2012

Usage

This template produces an error message to be displayed in citation templates, and categorizes the citation as broken.

This template uses two un-named parameters:

  • The first is the message
  • The second is optional and is the template name; it will automatically be wikilinked

The {{para}} template can be used to show parameters.

All pages will show the error message. Main, help and template pages will be placed into Category:Articles with incorrect citation syntax unless |nocat=true.

Example

Markup Renders as
{{Citation error|no {{para|title}} specified|Cite web}}

Error: no |title= specified when using {{Cite web}}

See also