Template:Information/doc: Difference between revisions
No edit summary |
m 115 revisions imported from mhdev:Template:Information/doc |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Dependencies|Template:Description missing}} | |||
{{ | {{Uses TemplateStyles|Template:Information/styles.css}} | ||
{{ | |||
== Usage == | == Usage == | ||
{| style="background-color: transparent;" | {| style="background-color: transparent;" | ||
! Full | ! Full | ||
Line 15: | Line 8: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| | | | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{Information | {{Information | ||
| description = | | description = | ||
Line 25: | Line 18: | ||
| additional_information = | | additional_information = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
| | | | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{Information | {{Information | ||
| description = | | description = | ||
Line 34: | Line 27: | ||
| author = | | author = | ||
}} | }} | ||
</syntaxhighlight> | |||
</ | |||
|} | |} | ||
== 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. | |||
== | == Parameters == | ||
=== Mandatory parameters === | === Mandatory parameters === | ||
Line 45: | Line 38: | ||
;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. | ;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. | ||
;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 themselves:'' 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 | #''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. | ||
; | === Other parameters === | ||
;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. | |||
; | ;date: Date of creation, or date of publication. 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. | ||
;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 file's proper copyright status (e.g. weblinks) might | ;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. | ||
[[ | |||
}}</includeonly> | == Example == | ||
Example for [[:File:Anders-Celsius-Head.jpg]]: | |||
{{Information | |||
| 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 | |||
* Source site: http://www.astro.uu.se/history/Celsius_eng.html | |||
* Source URL: http://www.astro.uu.se/history/images/celsius3.jpg | |||
| date = between 1701 - 1766 | |||
| author = Olof Arenius | |||
| other_versions = [[:File:Anders-Celsius.jpeg]] (full image) | |||
}} | |||
==TemplateData== | |||
<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 work\". 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." | |||
}, | |||
"author": { | |||
"required": true, | |||
"label": "Author", | |||
"aliases": [ | |||
"Author", | |||
"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": true, | |||
"label": "Permission", | |||
"aliases": [ | |||
"permission" | |||
], | |||
"type": "string", | |||
"description": "Please provide the license that followed with this image, or if it's your own image, please provide a license." | |||
}, | |||
"date": { | |||
"required": false, | |||
"label": "Date", | |||
"aliases": [ | |||
"date" | |||
], | |||
"type": "string", | |||
"description": "Date of creation or date of publication. 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." | |||
}, | |||
"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." | |||
}, | |||
"additional_information": { | |||
"required": false, | |||
"label": "Additional information", | |||
"aliases": [ | |||
"Additional_information", | |||
"additional_information", | |||
"additional information" | |||
], | |||
"type": "string", | |||
"description": "Contains other information about this image that doesn't fit somewhere else." | |||
} | |||
}, | |||
"description": "This template is used to make a standardized table providing information about files, including a description, its copyright status, and its source.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
<includeonly> | |||
[[Category:License templates]] | |||
</includeonly> |
Latest revision as of 13:54, 24 April 2025
Template:Documentation subpage Template:Dependencies Template:Uses TemplateStyles
Usage
Full | Without optional fields |
---|---|
{{Information
| description =
| source =
| date =
| author =
| permission =
| other_versions =
| additional_information =
}}
|
{{Information
| description =
| source =
| date =
| author =
}}
|
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.
Parameters
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.
- source
- Explain where the image is acquired from. Please specify accurately. For instance:
- Work of the uploader themselves: 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.
Other parameters
- 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.
- date
- Date of creation, or date of publication. 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.
- 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:
- Source site: http://www.astro.uu.se/history/Celsius_eng.html
- Source URL: http://www.astro.uu.se/history/images/celsius3.jpg
File:Anders-Celsius.jpeg (full image)
TemplateData
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 work". 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. | String | required |
Author | 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 | permission permission | Please provide the license that followed with this image, or if it's your own image, please provide a license. | String | required |
Date | date date | Date of creation or date of publication. 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 |
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. | String | optional |
Additional information | additional_information Additional_information additional_information additional information | Contains other information about this image that doesn't fit somewhere else. | String | optional |