Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Source attribution

Permanently protected template
From Wikipedia, the free encyclopedia
(Redirected fromTemplate:PD-notice)

Public Domain This article incorporates text from this source, which is in thepublic domain.

Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 37,000 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.

Usage

This template should be placed in theReferences 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 inCategory: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 thesource, 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 (alternativenoicon and the argument can be any string such asyes or1 etc)
  • pl=y — changes the wording from "from a publication" to "from publications" (alternativeplural and the argument can be any string such asyes or1 etc).
  • inline=y — change the wording of the prescript from "This article..." to "One or more of the preceding sentences..." (alternativesentence and the argument can be any string such asyes or1 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[Edit template data]

ParameterDescriptionTypeStatus
Source1

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

Contentsuggested
No icon?no-iconnoicon

Set to y to remove the leading icon

Booleanoptional
Plural?plplural

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

Booleanoptional
Inline?inlinesentence

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

The abovedocumentation istranscluded fromTemplate:Source attribution/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Source_attribution&oldid=1324896464"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp