Template:Citeref/doc

From blackwiki
< Template:Citeref
Revision as of 21:11, 7 August 2020 by imported>Matthiaspaul (→‎Description: CE)
Jump to navigation Jump to search

Description

This template can be used to create wiki links to citations defined through CS1/CS2 citation templates. It is a wrapper around {{harvid}} to make it easier to create links with small superscript labels (like [n]) similar to those created by Mediawiki's <ref>...</ref> style.

Usage

A typical use is inside of |quote=, if the quotation refers to other works defined as citations in the same article.

The template supports 1 to 4 author name parameters (as per {{harvid}} followed by 1 date parameter (also as per {{harvid}} to compose the appendage to CITEREF in order to match the internal anchor created by the citation template this link should point to. The last parameter is the label text that should be displayed as link text, f.e. "a", "b", "c", etc. Make sure that these labels do not clash with other labels used for citations or notes in the same article.

If only one parameter is given, the label text will be the same.[1]

Examples

  • {{citeref|Author|2020|a}}:
Example text[a]
  • {{citeref|Author|2020|text|style=plain}}:
Example text

See also

References

  1. Author (2020). Title.