模板: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 (alternativenoiconand the argument can be any string such as yes or 1 etc)|pl=y— changes the wording from "from a publication" to "from publications" (alternativepluraland 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..." (alternativesentenceand 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" | 布林值 | 非必填 |