साँचा:Wikiref/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
साँचा:mbox
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 साँचा:tl, 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: साँचा:wikiref
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 साँचा:tl
- No CSS hacks
See also
- साँचा:tl, a compatible template for producing references in a "References" section
- Wikipedia:Citation templates
- Wikipedia:Citing sources
- Wikipedia:Citing sources/example style