Template:Ref/Doc

From Arcen Wiki
< Template:Ref
Revision as of 18:14, 31 January 2015 by Zogheen (talk | contribs) (1 revision: Taken from http://www.uesp.net)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template is used to add citing references similar to the <ref> tag, but only affects the pages directly using this template, not pages that transclude those.

Parameters

Ref
Parameter Scope Description

{{#splitargs:Parameters/Line|3}}

Either name or 1 must be specified.

Details

This template is built on and emulates the use of the Cite extension, but avoids the need of cluttering articles with <noinclude> statements in the common case the references shouldn't show up on transcluding pages.

Usage of this template and <ref> tags can be freely mixed, if desired. Pages using this must include a <references/> tag somewhere to show a list of the references.

In the case that a transcluding page should show the references, this can be done by adding a |showrefs=1 parameter to the transclusion.

Examples

  • {{ref|text}} — simple reference
  • {{ref|name=desc|text}} — reference with an identifying name
  • {{ref|name=desc}} — reference using the text of previous reference with the same name
  • {{ref|group="oog"|[http://www.imperial-library.info/ Imperial Library]}} — Out of game reference