模板: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.