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

From blackwiki
Jump to navigation Jump to search
imported>Cymru.lass
(clarified documentation code)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template can be placed at the end of a sentence, sentences or a paragraph that incorporates text from a source that is not under copyright, if there is no other source specific template.  
+
This template can be placed at the end of a sentence, sentences or a paragraph that incorporates text from a source that is not under copyright, if there is no other source specific template. It can also be placed within ref tags.
  
 
This template takes one parameter, the name of the ''source'' and any other details which are needed to identify the work:
 
This template takes one parameter, the name of the ''source'' and any other details which are needed to identify the work:
Line 11: Line 11:
  
 
=== Examples ===
 
=== Examples ===
A text string can be passed as the parameter:
+
A text string can be passed as the parameter. For example:
This would display 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.<nowiki><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></nowiki>
 +
would display 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>
 
: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>
  

Revision as of 07:50, 1 November 2013

Usage

This template can be placed at the end of a sentence, sentences or a paragraph that incorporates text from a source that is not under copyright, if there is no other source specific template. It can also be placed within ref tags.

This template takes one parameter, the name of the source 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, i.e., 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}} template in the References section of the article.

Examples

A text string can be passed as the parameter. For example:

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>

would display 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