Template:Source attribution
外观
本条目含有公有领域來源内容。
用法
如果条目使用了公有领域来源中的文本,并且Category:引據模板中没有针对该来源的专用模板,则在条目的参考文献部分使用本模板。参见WP:FREECOPY。
{{Source attribution|来源|no-icon=y|inline=y}}
参数
|1=(匿名参数1) — 来源的详细信息,可使用{{cite book}}等模板填入。|no-icon=y— 移除前导图标(别名为noicon。参数值可为任意字符串,如yes或1等)。|inline=y— 将前缀文字“本条目”改为“前述部分句子”(别名为sentence,参数值可为任意字符串,如yes或1等)。该参数用于行内引用。
示例
- 将引用作为模板的匿名参数:
<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>- 本条目含有公有领域來源内容。
- 使用
|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
模板数据
添加一条注释,说明条目引用了来自公有领域来源的信息
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 来源 | 1 | 来源的详细信息 | 内容 | 推荐 |
| 是否无图标? | no-icon noicon | 设为y可移除前导图标 | 布尔 | 可选 |
| 是否内联? | inline sentence | 设为y可将“本条目”改为“前述部分句子” | 布尔 | 可选 |