Difference between revisions of "Template:Citation-attribution/doc"
imported>WikHead m (Fixed typo "and and") |
imported>Funandtrvl m (sortkey) |
||
| Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
| − | This template can be placed at the end of a sentence, sentences or a paragraph that | + | 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 takes one | + | This template takes one parameter, the name of the ''source'' and any other details which are needed to identify the work: |
| − | :<nowiki>{{Citation-attribution|</nowiki>title, author and other details<nowiki>}}</nowiki> | + | :<nowiki>{{Citation-attribution|</nowiki>''title, author and other details''<nowiki>}}</nowiki> |
| − | 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 | + | 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 {{tl|source-attribution}} template in the References section of the article. |
=== Examples === | === Examples === | ||
| Line 17: | Line 17: | ||
:<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> | :<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> | ||
| − | + | 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.<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> | ||
| Line 30: | Line 30: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:Attribution templates|*]] | + | [[Category:Attribution templates|*{{PAGENAME}}]] |
</includeonly> | </includeonly> | ||
Revision as of 00:22, 17 July 2010
| This is a documentation subpage for Template:Citation-attribution. It contains usage information, categories and other content that is not part of the original template page. |
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 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 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>
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.[1][2]
References
- ↑
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
- ↑
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.