跳至內容

模板:Source attribution/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

用法

[編輯]

如果條目使用了公有領域來源中的文本,並且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可將「本條目」改為「前述部分句子」

布林值非必填

參見

[編輯]