Template:Information: Difference between revisions
| [unchecked revision] | [unchecked revision] |
m 1 revision imported |
Caleb Cooper (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- |
|||
<table class="toccolours vevent mw-content-en" style="width: 100%; direction: ltr;" cellpadding="4"> |
|||
Automatically detect protected files: |
|||
--><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}} |
|||
<!-- Description --> |
|||
|sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}} |
|||
<tr style="vertical-align: top"> |
|||
}}{{#switch: {{PROTECTIONLEVEL:move}} |
|||
<td id="fileinfotpl_desc" class="fileinfo-paramfield">Description<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td> |
|||
|sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}} |
|||
<td class="description"> |
|||
}}{{#switch: {{PROTECTIONLEVEL:edit}} |
|||
{{{description|{{{Description|}}}}}} |
|||
|sysop={{pp-protected|small=yes}} |
|||
</td> |
|||
|templateeditor={{pp-template|small=yes}} |
|||
|extendedconfirmed={{Pp-30-500|small=yes}} |
|||
|autoconfirmed={{pp-protected|small=yes}} |
|||
| <!--Not protected--> |
|||
}} |
|||
</includeonly>{| summary="A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source." class="toccolours mbox-inside" style="width:100%;" cellpadding="2" |
|||
! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description |
|||
| {{{Location|}}} |
|||
{{#if: {{{Description|{{{description|}}}}}} |
|||
| {{{Description|{{{description}}}}}} |
|||
| {{Description missing<noinclude>|category=</noinclude>}} |
|||
}} |
|||
|- style="vertical-align:top;" |
|||
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#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]]. |
|||
}} |
|||
|- style="vertical-align:top;" |
|||
! style="background:#ccf; text-align:right; padding-right:0.4em; white-space:nowrap;" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date |
|||
| |
|||
{{{Date|{{{date|}}}}}} |
|||
|- style="vertical-align:top;" |
|||
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#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>}} |
|||
}} |
|||
|- style="vertical-align:top;" |
|||
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"|}} | Permission<br /><small>([https://commons.wikimedia.org/wiki/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 = |
|||
<tr style="vertical-align:top;"> |
|||
<th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_ver"> Other versions </th> |
|||
<td> {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} </td> |
|||
</tr> |
</tr> |
||
}} |
|||
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} |
|||
<!-- Other fields 1 --> |
|||
| = |
|||
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}} |
|||
| - = |
|||
| none = |
|||
<!-- Date --> |
|||
| #default = |
|||
<tr style="vertical-align: top"> |
|||
<tr style="vertical-align:top;"> |
|||
<td id="fileinfotpl_date" class="fileinfo-paramfield">Date</td> |
|||
<th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_add"> Additional information </th> |
|||
<td>{{{date|{{{Date|}}}}}}</td> |
|||
<td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td> |
|||
</tr> |
</tr> |
||
}} |
|||
|}<noinclude> |
|||
{{documentation}} |
|||
<!-- Source --> |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
<tr style="vertical-align: top"> |
|||
</noinclude> |
|||
<td id="fileinfotpl_src" class="fileinfo-paramfield">Source</td> |
|||
<td>{{{source|{{{Source|}}}}}}</td> |
|||
</tr> |
|||
<!-- Author --> |
|||
<tr style="vertical-align: top"> |
|||
<td id="fileinfotpl_aut" class="fileinfo-paramfield">Author</td> |
|||
<td>{{{author|{{{Author|}}}}}}</td> |
|||
</tr> |
|||
<!-- Permission --> |
|||
<tr style="vertical-align: top"> |
|||
<td id="fileinfotpl_perm" class="fileinfo-paramfield">Permission<br /><small>([[Project:Reusing content outside of Wikimedia|Reusing this file]])</small></td> |
|||
<td> |
|||
{{{permission|{{{Permission|}}}}}} |
|||
</td> |
|||
</tr> |
|||
<tr style="vertical-align: top"> |
|||
<td id="fileinfotpl_ver" class="fileinfo-paramfield">{{int:wm-license-information-other-versions}}</td> |
|||
<td> |
|||
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}} |
|||
</td> |
|||
</tr> |
|||
<!-- Other fields --> |
|||
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}} |
|||
</table> |
|||
Latest revision as of 08:36, 21 October 2020
| Description |
This message box is using an invalid "type=caution" parameter and needs fixing.
| ||
|---|---|---|---|
| Source |
No source specified. Please edit this file description and provide a source. | ||
| Date | |||
| Author |
This message box is using an invalid "type=caution" parameter and needs fixing.
| ||
| Permission (Reusing this file) |
See below.
|
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
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.
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
For more detail see wikipedia page wikipedia:Template:Information