Difference between revisions of "Template:Source-attribution"
Mediawiki>MusikBot II m (Changed protection settings for "Template:Source-attribution": High-risk template or module: 10817 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Revision as of 03:39, 24 January 2022
This article incorporates text from this source, which is in the public domain.
This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template should be placed in the References section of an article if the article incorporates text from a source that is not under copyright and there is no source specific template listed in Category:Attribution templates.
This template takes up to three parameters:
1
(unnamed)- The name of the source, along with any other details which are needed to identify the work
pl
- Pass
yes
to this parameter to change from "this source" to "these sources" sentence
- Pass any value to this template in order to change the opening statement (see examples)
- {{Source-attribution|source and other details}}
Examples
A text string with no parameters, such as <ref>{{cite book|last=Author|first=A. N.|year=1066|title=An Old Book}} {{PD-notice}}</ref>
, would display as [1]
The template with only the unnamed parameter, e.g. <ref>{{Source-attribution|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
, shows as [2]
Using |pl=yes
, as in <ref>{{Source-attribution|pl=yes|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
, shows as [3]
Using |sentence=yes
, as in <ref>{{Source-attribution|sentence=yes|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
, shows as [4]
In the references section, these appear as
References
- ↑ Author, A. N. (1066). An Old Book.
{{cite book}}
:|last=
has generic name (help) This article incorporates text from this source, which is in the public domain. - ↑ This article incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)
- ↑ This article incorporates text from these sources, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)
- ↑ One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)
Hidden category
This template includes a hidden category—Category:Source attribution—which does not appear at the bottom of an article page but does contain any article page that contains this template.