टेम्पलेट:Wikicite
{{{reference}}}
{{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. Atwood 2003). The anchor serves no purpose if nothing links to it.
Usage
संपादन करींCut-'n'-paste.
{{wikicite | id = | reference = }}
or, alternatively
{{wikicite | ref = | reference = }}
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:
|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|ref="Von Autor-2006"
)
Thus, these two forms
{{wikicite | id = Anchor 1 | reference = Reference text }} {{wikicite | ref = "Reference-Anchor 1" | reference = Reference text }}
produce identical results.
The |reference=
parameter is the actual reference text. It may be plain text, formatted text, or one of the citation templates.
उदाहरण
संपादन करींRecommended formats.
Markup | Renders as |
---|---|
According to Atwood, blah blah.<ref>[[#Atwood-2003|Atwood (2003)]], p. 29.</ref> == Notes == {{reflist}} == References == * {{wikicite | ref = Atwood-2003 | reference = Atwood, Margaret (2003). ''Oryx and Crake'', Toronto: McClelland & Stewart. ISBN 978-0-7710-0868-9. }} |
According to Atwood, blah blah.[1]
|
According to Atwood, blah blah.<ref>[[#Reference-Atwood-2003|Atwood (2003)]], p. 29.</ref> == Notes == {{reflist}} == References == * {{wikicite | id = Atwood-2003 | reference = Atwood, Margaret (2003). ''Oryx and Crake'', Toronto: McClelland & Stewart. ISBN 978-0-7710-0868-9. }} |
According to Atwood, blah blah.[1]
|
According to Atwood, blah blah.{{sfn|Atwood|2003|p=29}} == Notes == {{reflist}} == References == * {{wikicite | ref = {{sfnRef|Atwood|2003}} | reference = Atwood, Margaret (2003). ''Oryx and Crake'', Toronto: McClelland & Stewart. ISBN 978-0-7710-0868-9. }} |
According to Atwood, blah blah.[1]
|
According to the ''London Gazette'', blah blah.{{sfn|London Gazette|1728|p=3}} == Notes == {{reflist}} == References == * {{wikicite | ref = {{sfnRef|London Gazette|1728}} | reference = {{London Gazette | issue = 6719 | startpage = 3 | date = 19 October 1728 | accessdate = 7 January 2009 }} }} |
According to the London Gazette, blah blah.[1]
|
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 with 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:
{{Harv|Atwood|2003}}
In references section:
* {{citation | last = Atwood | first = Margaret | year = 2003 | title = Oryx and Crake | location = Toronto | publisher = McClelland & Stewart | isbn = 978-0-7710-0868-9 }}
इहो देखल जाय
संपादन करीं- {{Citation}}
- {{Harvnb}}
- {{Sfn}}, an alternative method for creating shortened footnotes.
- Wikipedia:Citation templates
- Wikipedia:Citing sources
- Wikipedia:Citing sources/Further considerations#Using Wikicite
- T-34#References, example of usage
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Wikicite/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |