Template:Information/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Toshio Yamaguchi
update documentation to include 'additional information' parameter
Ookami (talk | contribs)
m 93 revisions imported
 
(42 intermediate revisions by 29 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 parmeters ===
 
=== 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 himself/herself:'' Specify {{tl|Own}}.
#''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 files proper copyright status (e.g. weblinks) might be provided this way.
;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   = 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.
| 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 = 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           = between 1701 - 1766
| date = between 1701 - 1766
| author         = Olof Arenius
| author = Olof Arenius
| permission     = Copyright expired as artist died more than 70 years ago
| 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}} – For a similar template but for a TV episode screenshot
* {{tl|Information TV series screenshot}}, a similar template for a TV screenshot.
* {{tl|Non-free use rationale}} – For template to be used on non-free images that must comply with [[WP:NFC|Wikipedia Non-free Content]] policy and are used in one article.
* {{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 image data}} and {{tl|Non-free image rationale}} – For template to be used on non-free images that must comply with [[WP:NFC|Wikipedia Non-free Content]] policy and are used in more than one articles.
* {{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)-->
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:File namespace templates|{{PAGENAME}}]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<includeonly>{{Sandbox other|
[[ar:قالب:معلومات]]
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
[[az:Şablon:Şəkil məlumatı]]
[[Category:File namespace templates]]
[[bg:Шаблон:Information]]
}}</includeonly>
[[ca:Template:Information]]
[[cy:Nodyn:Gwybodaeth]]
[[da:Skabelon:Information]]
[[de:Vorlage:Information]]
[[dsb:Pśedłoga:Informacije wó wobrazu]]
[[el:Πρότυπο:Πληροφορίες εικόνας]]
[[eo:Ŝablono:Informo por dosiero]]
[[fr:Modèle:Information]]
[[fa:الگو:اطلاعات]]
[[id:Templat:Information]]
[[is:Snið:Mynd]]
[[he:תבנית:מידע]]
[[hsb:Předłoha:Informacije wo wobrazu]]
[[ja:Template:Information]]
[[ko:틀:파일 정보]]
[[ka:თარგი:ინფორმაცია]]
[[mk:Шаблон:Слика-инфо]]
[[ml:ഫലകം:Information]]
[[sl:Predloga:Information]]
[[szl:Szablon:Uopis grafiki]]
[[th:แม่แบบ:Information]]
[[vi:Template:Thông tin]]
[[yi:מוסטער:אינפארמאציע]]
[[zh:模板:Information]]
</includeonly>

Latest revision as of 13:21, 3 September 2020

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:
  1. Work of the uploader themself: Specify {{Own}}.
  2. 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.)
  3. 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

This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
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.

Template parameters

ParameterDescriptionTypeStatus
Descriptiondescription Description

Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file.

Stringrequired
Sourcesource 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}}.)

Stringrequired
Datedate 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.

Stringoptional
Authorauthor 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.

Stringrequired
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.

Stringoptional
Other versionsother_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.

Stringoptional
Additional informationadditional_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.

Stringoptional

See also