Difference between revisions of "Template:Free-content attribution/doc"
imported>John Cummings (added page numbers) |
imported>PrimeHunter (fix templatedata for parameter "page numbers") |
||
| Line 74: | Line 74: | ||
] | ] | ||
}, | }, | ||
| − | " | + | "page numbers": { |
"label": "Page numbers", | "label": "Page numbers", | ||
"description": "The page numbers used if applicable", | "description": "The page numbers used if applicable", | ||
| Line 129: | Line 129: | ||
"author", | "author", | ||
"publisher", | "publisher", | ||
| + | "page numbers", | ||
"source", | "source", | ||
"documentURL", | "documentURL", | ||
Revision as of 18:19, 26 January 2017
| This is a documentation subpage for Template:Free-content attribution. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 an 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 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:
- File:Definition of Free Cultural Works logo notext.svg This article incorporates text from a free content work. Licensed under CC BY-SA IGO 3.0 License statement/permission on Wikimedia Commons. Text taken from UNESCO - MAB Biosphere Reserves Directory, A.N. Author, UNESCO. Template:Selfref inline
Hidden category
This template includes a hidden category—Category:Free-content attribution—which does not appear at the bottom of an article page but does contain any article page that contains this template.
TemplateData
Explain that an article incorporates text from a source that is protected by a free-content license. Place in the article's references section.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title Title | The title of the work | String | required |
| Author | author Author | The author or authors of the work | String | suggested |
| Publisher | publisher Publisher | The publisher of the work | String | suggested |
| Page numbers | page numbers Page numbers | The page numbers used if applicable | String | suggested |
| Source | source Source | The source of the text e.g a third party website hosting the document | String | suggested |
| Document URL | documentURL DocumentURL | The URL of the document | URL | suggested |
| License statement URL | license statement URL License statement URL | The URL of the license statement if not stated in the document | URL | suggested |
| License | license License | The license covering the referred work(s); may be linked
| String | suggested |
| 1 | 1 | A string or template to be used instead of the built-in parameters
| String | optional |
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.