Template:Source-attribution/doc

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 n

Template:Source-attribution/doc

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.

{{Source-attribution|source and other details|no-icon=y |pl=y |inline=y}}

The four parameters are:

  • 1 (unnamed) = source name and other identifying details — The name of the source, along with any other details which are needed to identify the work (the argument (the text) can also be another template such as {{cite book}})
  • no-icon=y — remove the leading icon (alternative noicon and the argument can be any string such as yes or 1 etc)
  • pl=y — changes the wording from "from a publication" to "from publications" (alternative plural and the argument can be any string such as yes or 1 etc).
  • inline=y — change the wording of the prescript from "This article..." to "One or more of the preceding sentences..." (alternative sentence and the argument can be any string such as yes or 1 etc). It is intended for use in inline citations.

TemplateData

Adds a notice that an article incorporates information from a public domain source

Template parameters

ParameterDescriptionTypeStatus
Source1

The name of the source, along with any other details which are needed to identify the work

Contentsuggested
No icon?no-icon noicon

Set to y to remove the leading icon

Booleanoptional
Plural?pl plural

Set to y to change "from a publication" to "from publications"

Booleanoptional
Inline?inline sentence

Set to y to change "This article" to "One or more of the preceding sentences"

Booleanoptional

Examples

  1. Using |no-icon=y, as in <ref>{{Source-attribution|no-icon=y}}</ref>, removes the leading icon [1]
  2. A text string with no parameters (and followed by a citation), such as <ref>{{Source attribution}} {{cite book|last=Offa |first=Anne |year=1066|title=An Old Book}}</ref>, would display as [2]
  3. The template with a citation as the unnamed parameter, e.g. <ref>{{Source-attribution|{{cite book |title= Handbook to the cathedrals of England |first=Richard |last=John |date=1869}} }}</ref>, shows as [3]
  4. Using |pl=y, as in <ref>{{Source-attribution|pl=y|John, Richard (1869). ''Handbook to the cathedrals of England''; and {{cite book|last=Offa |first=Anne |year=1066|title=An Old Book}}}}</ref>, shows as [4]
  5. Using |inline=y, as in <ref>{{Source-attribution|inline=y|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>, shows as [5]
  6. Using all four parameters simultaniously <ref>{{Source-attribution|''sources and other details''|no-icon=y |pl=y |inline=y}}</ref>[6]

In the references section, these appear as

References

  1. This article incorporates text from this source, which is in the public domain.
  2. Template:Source attribution Offa, Anne (1066). An Old Book.
  3. Public Domain This article incorporates text from this source, which is in the public domain: John, Richard (1869). Handbook to the cathedrals of England.
  4. Public Domain This article incorporates text from these sources, which are in the public domain: John, Richard (1869). Handbook to the cathedrals of England; and Offa, Anne (1066). An Old Book.
  5. Public Domain 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)
  6. One or more of the preceding sentences incorporates text from these sources, which are in the public domain: sources and other details

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.

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.