Template:Wikiref
From Wikipedia, the free encyclopedia
[[#Reference-{{{id}}} |({{{text}}})]]
Template:wikiref makes a simple Harvard-style citation reference, for use in the text of an article to link to a citation in your "References" section. Cut-’n’-paste:
{{wikiref | id= | text= }}
The "id" is a unique identifier used for the reference link on the page, compatible with some other reference templates (100% compatible with {{wikicite}}, if you use the format Author-2006; use an underscore for a space: Von_Autor-2006). The "text" is the text of a reference citation, typically something like Author 2006, or with a page number: Author 2006b:135. The reference is formatted through editing wikitext. Recommended format:
{{wikiref | id= Atwood-2003 | text= Atwood 2003 }}
Result: (Atwood 2003)
Looks too simple to even bother using a template? It is! Just type your references into the article text, like so: [[#Reference-Atwood-2003 |(Atwood 2003)]]
, to yield a Harvard-style reference like this (Atwood 2003). Doing it manually is more flexible, for things like multiple citations and different formats—see various examples throughout the article "T-34".
[edit] Features
- Compatible with Harvard 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' reference anchors (any id which starts with "Reference-")
- Complies with WP:AUM [don't know what that is? It doesn't matter!]
- No conditionals [ditto]
- No Qif [uhuh]
- No CSS hacks [sigh]
[edit] See also
- {{wikicite}}, a compatible template for producing references in a "References" section
- Wikipedia:Citing sources
- Wikipedia:Citing sources/example style