Difference between revisions of "Template:Citation-attribution/doc"

From blackwiki
Jump to navigation Jump to search
imported>Moonriddengirl
(replacing fictitious example with a real one, minorly tweaked to exact duplication from William Zouche)
imported>PBS
(→‎Examples: Added in the {{cite book}} example)
Line 11: Line 11:
  
 
=== Examples ===
 
=== Examples ===
<code>:<nowiki><ref>{{Citation-attribution|King, Richard John (1869) ''Handbook to the cathedrals of England'', Vol. 1, Part 2. J. Murray. 129}}</ref></nowiki></code>
+
A text sting can be passed as the parameter:
 +
:<code><nowiki><ref>{{Citation-attribution|</nowiki>'''<nowiki>King, Richard John (1869) ''Handbook to the cathedrals of England'', Vol. 1, Part 2. J. Murray. 129</nowiki>'''}}<nowiki></ref></nowiki></code>
  
displays as:
+
or a citation template, like {{tl|cite book}} can be used:  
 +
:<code><nowiki><ref>{{citation-attribution|</nowiki>'''<nowiki> {{cite book |last1=King |first1=Richard John |title=Handbook to the cathedrals of England |volume=Vol. 1, Part 2. |year=1869 |publisher=J. Murray |page=129}}</nowiki>'''<nowiki> }}</ref></nowiki></code>
  
In this capacity, the Archbishop led one of the bodies of English troops which defeated the Scots at the Battle of Neville's Cross, close to Durham, 18 October 1346.<ref>{{Citation-attribution|King, Richard John (1869) ''Handbook to the cathedrals of England'', Vol. 1, Part 2. J. Murray. 129}}</ref>
+
They displays as:
 +
:In this capacity, the Archbishop led one of the bodies of English troops which defeated the Scots at the Battle of Neville's Cross, close to Durham, 18 October 1346.<ref>{{Citation-attribution|King, Richard John (1869) ''Handbook to the cathedrals of England'', Vol. 1, Part 2. J. Murray. 129}}</ref><ref>{{citation-attribution|{{cite book |last1=King |first1=Richard John |title=Handbook to the cathedrals of England |volume=Vol. 1, Part 2. |year=1869 |publisher=J. Murray |page=129}}}}</ref>
  
 
====References====
 
====References====

Revision as of 00:56, 10 March 2010

Usage

This template can be placed at the end of a sentence, sentences or a paragraph that incorporate text from a source that is not under copyright, if there is no source specific template.

This template takes one parameters the name of the source and and any other details which are needed to identify the work:

{{Citation-attribution|title, author and other details}}

If a Wikipedia article incorporates a substantial amount of text from an external source more than one paragraph in a section or text in several sections, then there is no need to use this template instead cite the source in the usual manner and use the {{source-attribution}} in the References section of the article.

Examples

A text sting can be passed as the parameter:

<ref>{{Citation-attribution|King, Richard John (1869) ''Handbook to the cathedrals of England'', Vol. 1, Part 2. J. Murray. 129}}</ref>

or a citation template, like {{cite book}} can be used:

<ref>{{citation-attribution| {{cite book |last1=King |first1=Richard John |title=Handbook to the cathedrals of England |volume=Vol. 1, Part 2. |year=1869 |publisher=J. Murray |page=129}} }}</ref>

They displays as:

In this capacity, the Archbishop led one of the bodies of English troops which defeated the Scots at the Battle of Neville's Cross, close to Durham, 18 October 1346.[1][2]

References

  1. One or more of the preceding sentences incorporates text from a work now in the public domain: King, Richard John (1869) Handbook to the cathedrals of England, Vol. 1, Part 2. J. Murray. 129
  2. One or more of the preceding sentences incorporates text from a work now in the public domain: King, Richard John (1869). Handbook to the cathedrals of England. Vol. 1, Part 2. J. Murray. p. 129.

Hidden category

This template includes a hidden category—Category:Citation attribution—which does not appear at the bottom of an article page but does contain any article page that contains this template.

See also