Template:Citation error

From Regenerate Willamette Valley
Revision as of 23:11, 5 January 2025 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template documentation{{#if:Lua error in Module:Appropedia at line 16: attempt to index field 'appropedia' (a nil value).|{{#if:|| edit documentation}}}}

{{#if:|{{{content}}}|{{#if:Lua error in Module:Appropedia at line 16: attempt to index field 'appropedia' (a nil value).|{{#ifeq:citation error|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

{{#if:{{#ifeq:Citatio|sandbox|1}}{{#ifeq:Citation error|doc|1}}|| }}|{{#if:http://willamette.earth/wiki/index.php?title=Template:Citation_error/doc&action=edit&preload=Preload:Template_documentation%7CCreate|{{#if:|[[:{{{page}}}|Create]]|Create}}}}}}}}