Template:Information/doc: Difference between revisions
meta>Yethrosh No edit summary |
m 93 revisions imported |
||
(39 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{High-risk| 140946 }} | |||
== Purpose == | |||
This template records and displays metadata for media files, such as photographs and diagrams. It includes a description of the file, its source, and its copyright status. | |||
== Usage == | == Usage == | ||
{| style="background-color: transparent;" | {| style="background-color: transparent;" | ||
! Full | ! Full | ||
Line 32: | Line 38: | ||
== Syntax description == | == Syntax description == | ||
=== Mandatory | |||
=== Mandatory parameters === | |||
;description: Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file. | ;description: Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file. | ||
Line 41: | Line 48: | ||
;source: Explain where the image is acquired from. Please specify accurately. For instance: | ;source: Explain where the image is acquired from. Please specify accurately. For instance: | ||
#''Work of the uploader | #''Work of the uploader themself:'' Specify {{tl|Own}}. | ||
#''Acquired from a website:'' Specify the URL of the web page from which it is acquired. Optionally, include a direct link to the image. (Never include a direct link alone.) | #''Acquired from a website:'' Specify the URL of the web page from which it is acquired. Optionally, include a direct link to the image. (Never include a direct link alone.) | ||
#''Scanned from a book or magazine:'' Specify the title, author, publisher, publication year, ISBN and page of the book or title, issue, volume, publication month and year, ISSN (if available) and page of the journal. You can use {{tl|cite book}} and {{tl|cite journal}}. | #''Scanned from a book or magazine:'' Specify the title, author, publisher, publication year, ISBN and page of the book or title, issue, volume, publication month and year, ISSN (if available) and page of the journal. You can use {{tl|cite book}} and {{tl|cite journal}}. | ||
Line 51: | Line 58: | ||
;other versions: '''Optional'''. Links to other versions of this image. The links may be in form of a list of links or thumbnails of the other versions of the image. Please only link to images that can be used instead of the image at hand; do not use this field as a mean of grouping related files. Instead, use [[Help:Categories|categories]]. | ;other versions: '''Optional'''. Links to other versions of this image. The links may be in form of a list of links or thumbnails of the other versions of the image. Please only link to images that can be used instead of the image at hand; do not use this field as a mean of grouping related files. Instead, use [[Help:Categories|categories]]. | ||
;additional information: '''Optional'''. Contains other information about this image that doesn't fit somewhere else. For example, information that might be relevant to determining a | ;additional information: '''Optional'''. Contains other information about this image that doesn't fit somewhere else. For example, information that might be relevant to determining a file's proper copyright status (e.g. weblinks) might be provided this way. | ||
== Example == | == Example == | ||
Example for [[:File:Anders-Celsius-Head.jpg]]: | Example for [[:File:Anders-Celsius-Head.jpg]]: | ||
{{Information | {{Information{{\sandbox}} | ||
| description | | description = Part of an oil painting of Anders Celsius. Painting by Olof Arenius (1701 - 1766). The original painting is placed in the astronomical observatory of Uppsala University. | ||
| source | | source = Astronomical observatory of Uppsala University | ||
* Source site: http://www.astro.uu.se/history/Celsius_eng.html | * Source site: http://www.astro.uu.se/history/Celsius_eng.html | ||
* Source URL: http://www.astro.uu.se/history/images/celsius3.jpg | * Source URL: http://www.astro.uu.se/history/images/celsius3.jpg | ||
| date | | date = between 1701 - 1766 | ||
| author | | author = Olof Arenius | ||
| permission | | permission = Copyright expired as artist died more than 70 years ago | ||
| other_versions = [[:File:Anders-Celsius.jpeg]] (full image) | | other_versions = [[:File:Anders-Celsius.jpeg]] (full image) | ||
}} | }} | ||
==TemplateData== | |||
{{TemplateData header}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"description": { | |||
"required": true, | |||
"label": "Description", | |||
"aliases": [ | |||
"Description" | |||
], | |||
"type": "string", | |||
"description": "Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file." | |||
}, | |||
"source": { | |||
"required": true, | |||
"label": "Source", | |||
"aliases": [ | |||
"Source" | |||
], | |||
"type": "string", | |||
"description": "Explain where the image is acquired from. Please specify accurately. (If it is the work of the uploader themself, use {{Own}}. If it was acquired from a website, specify the URL of the web page from which it is acquired. Optionally, include a direct link to the image. (Never include a direct link alone.) If it was scanned from a book or magazine, specify the title, author, publisher, publication year, ISBN and page of the book or title, issue, volume, publication month and year, ISSN (if available) and page of the journal. You can use {{cite book}} and {{cite journal}}.)\n" | |||
}, | |||
"date": { | |||
"required": false, | |||
"label": "Date", | |||
"aliases": [ | |||
"Date" | |||
], | |||
"type": "string", | |||
"description": "Date of creation or date of publication. Although not compulsory, it is advised to stick to the Manual of Style recommendations. Specifically, please avoid ambiguous dates like 02/03/04 which can refer to 2 March 2004, 3 February 2004, 4 March 2002 or 3 April 2002, depending on the geographical origin of the person who sees it." | |||
}, | |||
"author": { | |||
"required": true, | |||
"label": "Author", | |||
"aliases": [ | |||
"Author" | |||
], | |||
"type": "string", | |||
"description": "Author(s) of the image. If no individual person is known, use the name of the institution that owns, published or released the file." | |||
}, | |||
"permission": { | |||
"required": false, | |||
"label": "Permission (extra information)", | |||
"aliases": [ | |||
"Permission" | |||
], | |||
"type": "string", | |||
"description": "Not to be mistaken with license. Description of the permissions granted by the copyright holder. Use only when the accompanying license tag is not enough. Note that the media file must still be tagged with the appropriate license template." | |||
}, | |||
"other_versions": { | |||
"required": false, | |||
"label": "Other versions", | |||
"aliases": [ | |||
"Other_versions", | |||
"other versions" | |||
], | |||
"type": "string", | |||
"description": "Links to other versions of this image. The links may be in form of a list of links or thumbnails of the other versions of the image. Please only link to images that can be used instead of the image at hand; do not use this field as a mean of grouping related files. Instead, use categories." | |||
}, | |||
"additional_information": { | |||
"required": false, | |||
"label": "Additional information", | |||
"type": "string", | |||
"aliases": [ | |||
"Additional_information", | |||
"Additional information", | |||
"additional information" | |||
], | |||
"description": "Contains other information about this image that doesn't fit somewhere else. For example, information that might be relevant to determining a file's proper copyright status (e.g. weblinks) might be provided this way." | |||
} | |||
}, | |||
"description": "This template is used to make a standardized table providing information about files, including a description, its copyright status, and its source." | |||
} | |||
</templatedata> | |||
== See also == | == See also == | ||
* {{tl|Information TV series screenshot}} | * {{tl|Information TV series screenshot}}, a similar template for a TV screenshot. | ||
* {{tl|Non-free use rationale}} | * {{tl|Non-free use rationale}}, for use with on non-free images that must comply with [[WP:NFC|Wikipedia's non-free content policy]] and that each appear in no more than one article. | ||
* {{tl|Non-free | * {{tl|Non-free media data}} and {{tl|Non-free media rationale}}, for use with non-free images that must comply with Wikipedia's non-free content policy and that may appear in more than one article. | ||
* {{tl|Notice}} <!--(same as Template:Info)--> | |||
<!-- | |||
<!-- ADD | <includeonly>{{Sandbox other| | ||
[[ | | <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: --> | ||
[[Category:File namespace templates]] | |||
}}</includeonly> | |||
</includeonly> |
Latest revision as of 13:21, 3 September 2020
This is a documentation subpage for Template:Information. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 101,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Purpose
This template records and displays metadata for media files, such as photographs and diagrams. It includes a description of the file, its source, and its copyright status.
Usage
Full | Without optional fields |
---|---|
{{Information | description = | source = | date = | author = | permission = | other_versions = | additional_information = }} |
{{Information | description = | source = | date = | author = }} |
Syntax description
Mandatory parameters
- description
- Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file.
- author
- Author(s) of the image. If no individual person is known, use the name of the institution that owns, published or released the file.
Other parameters
- source
- Explain where the image is acquired from. Please specify accurately. For instance:
- Work of the uploader themself: Specify {{Own}}.
- Acquired from a website: Specify the URL of the web page from which it is acquired. Optionally, include a direct link to the image. (Never include a direct link alone.)
- Scanned from a book or magazine: Specify the title, author, publisher, publication year, ISBN and page of the book or title, issue, volume, publication month and year, ISSN (if available) and page of the journal. You can use {{cite book}} and {{cite journal}}.
- date
- Date of creation, or date of publication. Although not compulsory, it is advised to stick to the recommendations of Wikipedia:Manual of Style/Dates and numbers § Dates. Specifically, please avoid ambiguous dates like 02/03/04 which can refer to 2 March 2004, 3 February 2004, 4 March 2002 or 3 April 2002, depending on the geographical origin of the person who sees it.
- permission
- Optional. Not to be mistaken with license. Description of the permissions granted by the copyright holder. Use only when the accompanying license tag is not enough. Note that the media file must still be tagged with the appropriate license template. Select a copyright tag from Wikipedia:Image copyright tags/All.
- other versions
- Optional. Links to other versions of this image. The links may be in form of a list of links or thumbnails of the other versions of the image. Please only link to images that can be used instead of the image at hand; do not use this field as a mean of grouping related files. Instead, use categories.
- additional information
- Optional. Contains other information about this image that doesn't fit somewhere else. For example, information that might be relevant to determining a file's proper copyright status (e.g. weblinks) might be provided this way.
Example
Example for File:Anders-Celsius-Head.jpg:
Description |
Part of an oil painting of Anders Celsius. Painting by Olof Arenius (1701 - 1766). The original painting is placed in the astronomical observatory of Uppsala University. |
---|---|
Source |
Astronomical observatory of Uppsala University
|
Date |
between 1701 - 1766 |
Author |
Olof Arenius |
Permission (Reusing this file) |
Copyright expired as artist died more than 70 years ago |
Other versions | File:Anders-Celsius.jpeg (full image) |
TemplateData
TemplateData for Information
This template is used to make a standardized table providing information about files, including a description, its copyright status, and its source.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description Description | Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file. | String | required |
Source | source Source | Explain where the image is acquired from. Please specify accurately. (If it is the work of the uploader themself, use {{Own}}. If it was acquired from a website, specify the URL of the web page from which it is acquired. Optionally, include a direct link to the image. (Never include a direct link alone.) If it was scanned from a book or magazine, specify the title, author, publisher, publication year, ISBN and page of the book or title, issue, volume, publication month and year, ISSN (if available) and page of the journal. You can use {{cite book}} and {{cite journal}}.) | String | required |
Date | date Date | Date of creation or date of publication. Although not compulsory, it is advised to stick to the Manual of Style recommendations. Specifically, please avoid ambiguous dates like 02/03/04 which can refer to 2 March 2004, 3 February 2004, 4 March 2002 or 3 April 2002, depending on the geographical origin of the person who sees it. | String | optional |
Author | author Author | Author(s) of the image. If no individual person is known, use the name of the institution that owns, published or released the file. | String | required |
Permission (extra information) | permission Permission | Not to be mistaken with license. Description of the permissions granted by the copyright holder. Use only when the accompanying license tag is not enough. Note that the media file must still be tagged with the appropriate license template. | String | optional |
Other versions | other_versions Other_versions other versions | Links to other versions of this image. The links may be in form of a list of links or thumbnails of the other versions of the image. Please only link to images that can be used instead of the image at hand; do not use this field as a mean of grouping related files. Instead, use categories. | String | optional |
Additional information | additional_information Additional_information Additional information additional information | Contains other information about this image that doesn't fit somewhere else. For example, information that might be relevant to determining a file's proper copyright status (e.g. weblinks) might be provided this way. | String | optional |
See also
- {{Information TV series screenshot}}, a similar template for a TV screenshot.
- {{Non-free use rationale}}, for use with on non-free images that must comply with Wikipedia's non-free content policy and that each appear in no more than one article.
- {{Non-free media data}} and {{Non-free media rationale}}, for use with non-free images that must comply with Wikipedia's non-free content policy and that may appear in more than one article.
- {{Notice}}