Template:Information: Difference between revisions
From WWII Archives
(edit to trim no longer needed code after new version of module:information) |
Paul Sidle (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <!-- | ||
-->{{# | Automatically detect protected files: | ||
--><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}} | |||
|sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}} | |||
}}<noinclude> | }}{{#switch: {{PROTECTIONLEVEL:move}} | ||
|sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}} | |||
}}{{#switch: {{PROTECTIONLEVEL:edit}} | |||
|sysop={{pp-protected|small=yes}} | |||
|templateeditor={{pp-template|small=yes}} | |||
|extendedconfirmed={{Pp-30-500|small=yes}} | |||
|autoconfirmed={{pp-protected|small=yes}} | |||
| <!--Not protected--> | |||
}} | |||
</includeonly><templatestyles src="Information/styles.css"/> | |||
{| class="file-information" | |||
|+ File information | |||
|- | |||
! scope="row" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description | |||
| {{{Location|}}} | |||
{{#if: {{{Description|{{{description|}}}}}} | |||
| {{{Description|{{{description}}}}}} | |||
| {{Description missing<noinclude>|category=</noinclude>}} | |||
}} | |||
|- | |||
! scope="row" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source | |||
| | |||
{{#if:{{{Source|{{{source|}}}}}} | |||
| {{{Source|{{{source}}}}}} | |||
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files with no machine-readable source]]</includeonly>}} No source specified. Please edit this file description and [[Wikipedia:Citing sources#Multimedia|provide a source]]. | |||
}} | |||
|- | |||
! scope="row" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date | |||
| | |||
{{{Date|{{{date|}}}}}} | |||
|- | |||
! scope="row" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author | |||
| | |||
{{#if: {{{Author|{{{author|}}}}}} | |||
| {{{Author|{{{author}}}}}} | |||
| {{Description missing|author information|category=}}{{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}} | |||
}} | |||
|- | |||
! scope="row" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"}} | Permission<br /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this file]])</small> | |||
| | |||
{{#if:{{{Permission|{{{permission|}}}}}} | |||
| {{{Permission|{{{permission}}}}}} | |||
| See below. | |||
}} | |||
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} | |||
| = | |||
| - = | |||
| none = | |||
| #default = | |||
{{!}}- | |||
! scope="row" id="fileinfotpl_ver" {{!}} Other versions | |||
{{!}} {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} | |||
}} | |||
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} | |||
| = | |||
| - = | |||
| none = | |||
| #default = | |||
{{!}}- | |||
! scope="row" id="fileinfotpl_add" {{!}} Additional information | |||
{{!}} {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} | |||
}} | |||
|}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | </noinclude> |
Latest revision as of 22:26, 9 May 2023
Description |
| ||
---|---|---|---|
Source |
No source specified. Please edit this file description and provide a source. | ||
Date | |||
Author |
| ||
Permission (Reusing this file) |
See below.
|
Warning | This template is used on approximately 104,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. |
CSS | This template uses TemplateStyles: |
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}}