Template:Citation error/doc
{{#ifeq:doc|doc|Template:Notice}}
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 |{{SAFESUBST:#if:nocat|nocat=}}true
.
Example
{{#if: ||+ {{{title}}}}} {{#if: |Markup | Renders as
}}{{#if:{{Citation error|no {{para|title}} specified|Cite web}}| | ||||
{{#switch:
|
none = {{Citation error|no {{para|title}} specified|Cite web}} | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup">{{Citation error|no {{para|title}} specified|Cite web}}</syntaxhighlight> | pre = {{Citation error|no {{para|title}} specified|Cite web}} |
#default = < style="">{{Citation error|no {{para|title}} specified|Cite web}}</> }} | Error: no }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }}{{#if:| |
{{#switch:
|
none = | syntaxhighlight = <syntaxhighlight lang="wikitext" inline="1" style="" class="template-markup"></syntaxhighlight> | pre = | #default = < style=""></> }} | }} |
See also
- {{error}}