Jump to content

Template talk:Wikicite

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Hilst (talk | contribs) at 22:03, 17 June 2024 (wpbs). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

What?!??!

[edit]

This was a very nice citation template. I'm changing it back. Evan(Salad dressing is the milk of the infidel!) 13:04, 17 December 2006 (UTC)[reply]

Examples

[edit]

Could someone please provide a few articles that use this method of citation, so that I could refer to them as examples? --Elonka 20:46, 16 February 2007 (UTC)[reply]

Sorry for the delay, I just stumbled over this question. Go to Template:Wikicite and click "What links here" in the toolbox box on the left. One article: Punctuation. -- Boracay Bill 23:09, 16 June 2007 (UTC)[reply]
Actually, Punctuation misused the template and has since been fixed. (It created an anchor in a footnote that was not used.) A better example is Sackbut. ---- CharlesGillingham (talk) 17:59, 30 October 2009 (UTC)[reply]

Why not harvard?

[edit]

How is this better/worse than the Harvard templates? ---- CharlesGillingham 01:35, 2 October 2007 (UTC)[reply]

Deprecate?

[edit]
  1. Many of the current uses of the template are errors that need to be fixed. This template creates an anchor, but, in a large number of uses, nothing links to this anchor. To be specific: If {{Wikiref | id=link name }} does not appear in the article, and [[#Reference-link name| ... ]] does not appear in the article, then {{Wikicite | id=link name | reference =reference text }} may be replaced with reference text. Note also that, if the reference is a citation template, as in {{Wikicite | id=link name | reference = {{Cite type | ... }} }} then it can be replaced with the simpler and more standard {{Cite type | ... | ref=Reference-link name }} The major citation templates can create an anchor automatically, so it is not necessary to create two back-to-back anchors.  Fixed
  2. A more technical issue is that it uses a <cite> span, which (I am told) is incompatible with HTML 5.0, so Wikipedia needs to remove these anyway. See Template talk:Citation/core/Archive 1#Use of cite element.  Fixed
  3. Finally, I believe that using {{sfn}} or {{Harv}} with {{Citation}} or {{Cite *|ref=harv}} is a more standard and elegant way to get the same functionality.

All these considerations lead me to argue that this template should be deprecated in favor of {{Citation}} and {{Cite *}} ---- CharlesGillingham (talk) 06:48, 30 September 2009 (UTC)[reply]

Articles known to use Wikicite correctly.

[edit]

These articles (1) have links from the article body (i.e. shortened footnotes or harvard references) (2) Don't use citation templates to format the citation. This partial list is for my own information -- I am gradually fixing all the articles that use Wikicite unnecessarily, and these are the ones I've decided to leave alone. ---- CharlesGillingham (talk) 19:03, 3 November 2009 (UTC)[reply]

Battle of the Nile, Depth of Field (uses ref), History of Saudi Arabia (uses ref) Sophie Germain, [[[Taiwanese aborigines]], Airship (uses ref), United Nations Truce Supervision Organization (one use), Ishtar, Sitting Bull, Circle of confusion (curiously, uses ref with CITEREF, but without {{harvid}} or {{harv}}), Jiddu Krishnamurti, T-34, Tafl games, Charles Fourier, Louis Spohr, Tooheys Brewery, Daruma doll, Jacob Clemens non Papa, Tincture (heraldry), Mascara (very non-standard... added in November 2004), Richard Neal (ref with {{harvid}}), John F. Tierney (ref with {{harvid}}), Governor-General of the Philippines Hama massacre, Jacob Obrecht, Airmass (ref with CITEREF), Philippe de Monte, Petitcodiac River (only because {{cite report}} has no |ref=), Battle of Red Cliffs, State atheism (uses ref), Hans Leo Hassler, Subdermal implant, Fox games, Animal worship, Insurance fraud, Problem solving, Giant Clam, Frederick Brotherton Meyer, Atmospheric refraction (ref with CITEREF), United Nations Emergency Force, Lymphocytic choriomeningitis, Canadian Forces National Investigation Service, St. Mark's College (University of Adelaide), Religious fanaticism, International Association for Plant Taxonomy, Warrington Borough Transport, Walter Dandy, Jacob H. Smith (uses Ref), Romani orthography, Universal value, SCSI Mode Sense Command (one use), Ermine (heraldry), Harrison White, Andrew Reed (clergyman), Jerry Ross (painter), We Gotta Get out of This Place: Popular Conservatism and Postmodern Culture, Management Information Systems Quarterly, First Philippine Republic (ref with {{harvid}}), Progressive bulbar palsy, Soka University of America, Charles Henry Carter, Behavioural change theories, Quantum mind, Apostolic Exarchate for Ukrainians in Great Britain, Michael Kuchmiak (one use), Phylogenetic comparative methods, Lancashire United Transport, Cree (surname), Attitude polarization, Mathematics of bookmaking, Sonic Studio, The impact of gestures on language acquisition, Spade Ranch (Nebraska), John Hoppus, Wave radar, Infantile progressive bulbar palsy, Cristiano Bilanzola, Regal Fritillary, Allotropes of oxygen, European Integration Studio, Green library, LabelMe, OxMetrics, Ghost marriage (Chinese), Roberton, Lanarkshire, Warrington Corporation Tramways, One-shot learning, John Jay (builder), Pronation of the foot (added), Voodoo death, Centrifugal force, Sam Giancana, Dissenting Gothic, Golf Cart Accidents, Helmet (heraldry), First date (meeting), Geriatric depression, Western stereotype of the male ballet dancer, 2009 Southeastern Conference football officiating controversy, Self- and Peer-Assessment, Cinema Insomnia, Chord names and symbols (jazz and pop music), Drunk drivers (added).

That's all of them. In total, as of today, there are 104 articles that transclude template Wikicite. I have fixed 1170 articles all together. As of today, all these articles: 1) Have links to Wikicite's anchors using shortened footnotes or harvard references. 2) Don't use a citation template to format the citation.


CharlesGillingham (talk) 02:26, 11 November 2010 (UTC)[reply]

Updated ---- CharlesGillingham (talk) 19:00, 13 December 2010 (UTC)[reply]

Changes

[edit]

A discussion of contemplated changes to this template was begun here. I've asked that the discussion continue here rather than there.

A small change which would accommodate what is being discussed would be to recast the template as

<span class="citation wikicite" id={{{ref|"Reference-{{{id}}}"}}}>{{{reference}}}</span><noinclude>{{Documentation}}</noinclude>

A link anchor compatible with {{Harvnb|Authorsurname|Year}} would then be produced by:

{{wikicite|ref={{harvid|Authorsurname|Year}}|reference=the citation body}}

Comments? Wtmitchell (talk) (earlier Boracay Bill) 01:36, 15 March 2010 (UTC)[reply]

This is a good idea, however, there are still several hundred articles that use the old link name, and they would need to be fixed. A better name for the template you have in mind might be {{Cite any}}. ---- CharlesGillingham (talk) 14:30, 15 March 2010 (UTC)[reply]
I don't understand your objection. As implemented above, there should be no impact on existing articles which now use this template, or on articles which use it in future without using the added optional parameter. The content of the added parameter named ref, if not specified, is defaulted to the literal text "Reference-", suffixed by the content of the existing parameter named id (as the template currently functions). Wtmitchell (talk) (earlier Boracay Bill) 02:25, 17 March 2010 (UTC)[reply]

I made the change to the template, adding a new optional parameter named Ref. I'll update the docs. Wtmitchell (talk) (earlier Boracay Bill) 02:50, 18 March 2010 (UTC)[reply]

Please note that parameter names are normally case sensitive and in this case the parameter name encoded in the template is |ref= and not as above. --Redrose64 (talk) 15:00, 18 March 2010 (UTC)[reply]
This makes Wikicite useful for adding an anchor to those citation templates that do not provide anchors. I have documented this at User:Gadget850/Citation templates— anchors. ---— Gadget850 (Ed) talk 16:13, 20 June 2010 (UTC)[reply]

harvnb?

[edit]

Can this template be used to give an anchor for {{harvnb}} templates?Nigel Ish (talk) 10:27, 21 December 2012 (UTC)[reply]

Yes, but why? The harv templates create a link to the anchor on a citation. Please provide an example. --— Gadget850 (Ed) talk 19:03, 21 December 2012 (UTC)[reply]
Its for when the article uses hand coded references, not Citation or Cite xxxx templates.Nigel Ish (talk) 00:04, 22 December 2012 (UTC)[reply]
An example of mixing harvnb with manually coded long references is Kawanishi K-12 Sakura.Nigel Ish (talk) 00:12, 22 December 2012 (UTC)[reply]
I think you asked your question backwards: harv templates don't need an anchor, they create a link to the citation which has an anchor. Citation Style 1, Citation Style 2, Citation Style Vancouver and some other templates can create the anchor. {{Wikicite}} is useful for those templates that do not create an anchor or for hand-crafted templates. So, you can use it in the example article to create the link to the full citation, which I can see does not exist since I enabled User:Ucucha/HarvErrors. --— Gadget850 (Ed) talk 00:41, 22 December 2012 (UTC)[reply]

Wrapper templates

[edit]

Whenever I come across a citation template that is not using either Help:CS1 or Help:CS2 style standard templates, I alter them to be a wrapper around one of the standard templates such as {{cite book}} or {{citation}} this brings several simultaneous advantages. The first is that editors familiar with the standard templates can easily use a non standard template. the template displays the parameters in the standard order used by the standard templates. And thank to WP:LUA modue support, things like the date format is checked and verified.

It is then easy to update the parameters to include new functionality (for example to increase the number of authors if that is needed, or to alter the parameter author so that first last pairs are (also) supported. Two of the most obvious additions to make are adding the mode parameter to alter certain display aspects such as the separator character, so that the template presents citations in a consistent way with other citation templates used in the same article and ref parameter so that the template contents can be liked to short citations using for example {{harvnb}}.

One of the templates I have recently updated is the {{London Gazette}} to be wrapper (diff) and it now includes ref parameter so it is not good example to use in this documentation.

Our dilemma here is that any citation template that is use as an example probably ought to be converted into a wrapper. So I suggest that the documentation is updated without the {{London Gazette}} example andin future keep the documentation focused non-template support. -- PBS (talk) 14:45, 14 May 2017 (UTC)[reply]

I have rewritten the example using {{ws}} which is a template that is unlikely to be altered to become a wrapper around one of the standard citation templates. -- PBS (talk) 16:05, 14 May 2017 (UTC)[reply]
[edit]

Please see the discussion at Module talk:Footnotes § broken harv link reporting where a broken harv-link reporting scheme is proposed.

Trappist the monk (talk) 17:46, 16 March 2020 (UTC)[reply]