साँचा:Wikiref

मुक्त ज्ञानकोश विकिपीडिया से

[[#Reference-{{{id}}}|({{{text}}})]]

परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]
The template documentation below is transcluded from साँचा:Wikiref/doc [edit]

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".

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 XHTML code
  • Compatible many other templates' reference anchors (any id which starts with "Reference-")
  • No conditionals
  • No {{Qif}}
  • No CSS hacks

See also[संपादित करें]