Bản mẫu:Source-attribution
Bài này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng.
![]() | Bản mẫu này được sử dụng ở rất nhiều trang, vì thế những thay đổi đến nó sẽ hiện ra rõ ràng. Vui lòng thử nghiệm các thay đổi ở trang con /sandbox, /testcases của bản mẫu, hoặc ở không gian người dùng của bạn. Cân nhắc thảo luận các thay đổi tại trang thảo luận trước khi áp dụng sửa đổi. |
Usage
[sửa mã nguồn]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 (alternativenoicon
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" (alternativeplural
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..." (alternativesentence
and the argument can be any string such as yes or 1 etc). It is intended for use in inline citations.
TemplateData
[sửa mã nguồn]Adds a notice that an article incorporates information from a public domain source
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
Source | 1 | The name of the source, along with any other details which are needed to identify the work | Nội dung | khuyên dùng |
No icon? | no-icon noicon | Set to y to remove the leading icon | Luận lý | tùy chọn |
Plural? | pl plural | Set to y to change "from a publication" to "from publications" | Luận lý | tùy chọn |
Inline? | inline sentence | Set to y to change "This article" to "One or more of the preceding sentences" | Luận lý | tùy chọn |
Examples
[sửa mã nguồn]- Using
|no-icon=y
, as in<ref>{{Source-attribution|no-icon=y}}</ref>
, removes the leading icon [1] - 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] - 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] - 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] - Using
|inline=y
, as in<ref>{{Source-attribution|inline=y|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
, shows as [5] - 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
Tham khảo
- ^ Bài này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng.
- ^ Bản mẫu:Source attribution Offa, Anne (1066). An Old Book.
- ^
Bài này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng: John, Richard (1869). Handbook to the cathedrals of England.
- ^
Bài này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng: John, Richard (1869). Handbook to the cathedrals of England; and Offa, Anne (1066). An Old Book.
- ^
Các câu này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng: Handbook to the cathedrals of England, by Richard John (1869)
- ^ Các câu này có sử dụng tư liệu từ các nguồn có bản quyền thuộc về công chúng: sources and other details
Hidden category
[sửa mã nguồn]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
[sửa mã nguồn]- {{Free-content attribution}} — prescript for a source that meets the definition of a free cultural work
- Wikipedia:Template_index/Sources_of_articles#Other