Predloga:Wikisklic
{{{reference}}}
{{Wikicite}} makes a simple reference, for use in a "References" section for books, journals, web references, etc. 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
[uredi kodo]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.
Examples
[uredi kodo]Recommended formats.
Uporaba | Izpis |
---|---|
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]
Notes
References
|
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]
Notes
References
|
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]
Notes
References
|
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]
Notes
References
|
Features
[uredi kodo]- 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 many other templates' in-text citation links (any id which starts with "Reference-")
- Complies with WP:AUM
- No conditionals
- No CSS hacks
Alternatives
[uredi kodo]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 }}
See also
[uredi kodo]- {{Citation}}
- {{Harvnb}}
- {{Sfn}}, an alternative method for creating shortened footnotes.
- Wikipedija:Predloge za navajanje
- Wikipedija:Navajanje virov
- Wikipedija:Navajanje virov/Primeri sloga
- Wikipedjia:Navajanje virov/Further considerations#Using Wikicite
- T-34#References, example of usage
{{en:Template:Wikicite}}