Template:Citation error/doc: Difference between revisions

From Regenerate Willamette Valley
 
m 1 revision imported
 
(No difference)

Latest revision as of 23:11, 5 January 2025

{{#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 |{{SAFESUBST:#if:title|title=}} specified{{#if:Cite web| when using {{Cite web}}}}{{#ifeq:true|true||Template:Namespace detect showall}}

}}{{#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