Template:Wikicite/doc

Wikicite creates an anchor, for use in a "References" section for books, journals, web references, etc. The anchor should be linked-to in the body of the article.

The reference text may be formatted manually, and the template merely adds an anchor for linking from in-text citations. This template is also useful when using a citation template that does not support the ref parameter (for example, London Gazette, but there are others).

This template is only needed for handwritten citations, or citations using non-standard citation templates, that are linked to by a shortened footnote or a parenthetical reference. If you don't mind using a citation template, it is more standard to use sfn or harv with a template such as citation, cite book, cite web, etc.

This template is not necessary if the citation uses a citation template (such as cite book). Use the ref parameter of the citation template to create the anchor. This template is also not necessary if the article does not contain a shortened footnote or parenthetical reference that creates a link (e.g. ). The anchor serves no purpose if nothing links to it.

Usage
Cut-'n'-paste. or, alternatively

The id or ref parameters are alternative unique identifiers used for the reference link on the page, compatible with some other reference templates. If both id and ref are provided, id is ignored. There are two differences between these: Thus, these two forms produce identical results.
 * id automatically prefixes the link anchor with "Reference-", whereas ref does not
 * id encloses the link anchor in double quotes, so these must not be provided by the editor; but if using ref, the specified content for this parameter must be enclosed in quotes unless it consists entirely of letters, figures, hyphens and periods. If it contains any other character - such as a blank or underscore - it must be quoted. (e.g., a ref anchor of Von Autor-2006 must be specified as "Von Autor-2006")

The reference parameter is the actual reference text. It may be plain text, formatted text, or one of the citation templates.

Examples
Recommended formats.

{{markup| According to Atwood, blah blah.

Features

 * Compatible with any reference style: editor has 100% control of the format through a technology called editing wikitext

Technical features:
 * Produces well-formed, accessible, semantically-correct HTML code
 * Compatible many other templates' in-text citation links (any id which starts with "Reference-")
 * Complies with WP:AUM
 * No conditionals
 * No CSS hacks

Alternatives
Note that the identical behavior can be achieved using the more standard Harvnb (or sfn) and Citation

In article body:

In references section: