模板:Source-attribution
本文含有此来源中属于公有领域的内容。
用法
编辑如果条目使用了公有领域来源中的文本,并且Category:引据模板中尚无对应模板,则在参考文献部分使用本模板。
{{Source-attribution|来源|no-icon=y|pl=y|inline=y}}
参数
编辑|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.
示例
编辑- 将引用作为模板的匿名参数:
<ref>{{Source-attribution|{{cite book |title= Handbook to the cathedrals of England |first=Richard |last=John |date=1869}} }}</ref>
- 本文含有此来源中属于公有领域的内容:John, Richard. Handbook to the cathedrals of England. 1869.
- 在引用之前使用不使用任何参数的模板:
<ref>{{Source-attribution}} {{cite book|last=Offa |first=Anne |year=1066|title=An Old Book}}</ref>
- 本文含有此来源中属于公有领域的内容。 Offa, Anne. An Old Book. 1066.
- 使用
|no-icon=y
:<ref>{{Source-attribution|no-icon=y}}</ref>
- 本文含有此来源中属于公有领域的内容。
- 使用
|pl=y
<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>
- 本文含有此来源中属于公有领域的内容如下:John, Richard (1869). Handbook to the cathedrals of England; and Offa, Anne. An Old Book. 1066.
- 使用
|inline=y
:<ref>{{Source-attribution|inline=y|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
- 前文含有此来源中属于公有领域的内容:Handbook to the cathedrals of England, by Richard John (1869)
- 同时使用四个参数:
<ref>{{Source-attribution|''sources and other details''|no-icon=y |pl=y |inline=y}}</ref>
- 前文含有此来源中属于公有领域的内容如下:sources and other details
模板数据
编辑Adds a notice that an article incorporates information from a public domain source
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Source | 1 | The name of the source, along with any other details which are needed to identify the work | 内容 | 推荐 |
No icon? | no-icon noicon | Set to y to remove the leading icon | 布尔 | 可选 |
Plural? | pl plural | Set to y to change "from a publication" to "from publications" | 布尔 | 可选 |
Inline? | inline sentence | Set to y to change "This article" to "One or more of the preceding sentences" | 布尔 | 可选 |