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

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(error category; markup)
imported>Andrybak
 
(6 intermediate revisions by 6 users not shown)
Line 5: Line 5:
 
This template produces an error message to be displayed in citation templates, and categorizes the citation as broken.
 
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:
+
This template uses two unnamed parameters:
  
 
* The first is the message
 
* The first is the message
Line 23: Line 23:
 
=== See also ===
 
=== See also ===
 
* {{tl|error}}
 
* {{tl|error}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
+
[[Category:Error-message templates]]
[[sl:Predloga:Citation error]]
+
}}</includeonly>
[[uk:Шаблон:Citation error]]
 
</includeonly>
 

Latest revision as of 19:55, 27 February 2020

Usage

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

This template uses two unnamed 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