模板:Free-content attribution/doc

維基教科書,自由的教學讀本

Usage[編輯]

To learn how to use this template to incorporate open license text on Wikipedia please see Wikipedia:Adding open license text to Wikipedia

This template should be placed in the References section of an article if the article incorporates text from a source that is protected by a free content license and there is no source-specific template listed in Category:Attribution templates.

This template takes one required parameter and up to two optional parameters:

{{Free-content attribution
|title=  <!-- The title of the work -->
|author = <!-- The author of the work -->
|publisher = <!-- The publisher of the work -->
|source=  <!-- The source of the work if not from the publisher or the author -->
|documentURL= <!-- The URL of the work -->
|license statement URL= <!-- The URL of the license statement of the work if not included within the document -->
|license= <!-- The license of the work -->
}}

Using the built in parameters[編輯]

{{Free-content attribution |title=UNESCO - MAB Biosphere Reserves Directory |author=A.N. Author |publisher=UNESCO |source= |license = CC BY-SA IGO 3.0 |documentURL=http://www.unesco.org/new/en/natural-sciences/environment/ecological-sciences/biosphere-reserves/europe-north-america/france/fontainebleau-et-du-gatinais/ |license statement URL=http://www.unesco.org/new/en/natural-sciences/environment/ecological-sciences/biosphere-reserves/world-network-wnbr/wnbr/}}
Result:
 本條目包含了自由內容作品內的文本。 在CC BY-SA IGO 3.0下釋出(許可證聲明): 《UNESCO - MAB Biosphere Reserves Directory》, A.N. Author, UNESCO. 欲了解如何向維基百科條目內添加開放許可證文本,請見這裏;欲知如何重用本站文字,請見使用條款

Hidden category[編輯]

This template includes a hidden category — Category:Free-content attribution(0) — which does not appear at the bottom of an article page (unless hidden categories are set to display, in the user's settings), but does contain any article page that contains this template.

TemplateData[編輯]

這是用於新版視覺化編輯器及其他工具的模板資料文件。

Free-content attribution模板資料

Explain that an article incorporates text from a source that is protected by a free-content license. Place in the article's references section.

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
Titletitle Title

The title of the work

字串必填
Authorauthor Author

The author or authors of the work

字串建議
Publisherpublisher Publisher

The publisher of the work

字串建議
Page numberspage numbers Page numbers

The page numbers used if applicable

字串建議
Sourcesource Source

The source of the text e.g a third party website hosting the document

字串建議
Document URLdocumentURL DocumentURL

The URL of the document

URL建議
License statement URLlicense statement URL License statement URL

The URL of the license statement if not stated in the document

URL建議
Licenselicense License

The license covering the referred work(s); may be linked

範例
CC BY-SA
字串建議
11

A string or template to be used instead of the built-in parameters

範例
{{cite book |last1=Doe |first1=J. |title=Some Work |volume=Vol. 1, Part 2. |year=2000 |publisher=Foo Publishing House}}
字串選填

See also[編輯]

  • {{source-attribution}} - a template that can 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.
  • {{citation-attribution}} a template that can be placed at the end of a sentence, sentences or a paragraph that incorporates text from a source that is not under copyright. It is an alternative to this template if only a few sentences or a paragraph has been copied.