Difference between revisions of "Template:Information"
EricThrift (talk | contribs) (Created page with "<div class="hproduct"> <table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4"> <!-- Description --> <tr style="vertical-align: top...") |
EricThrift (talk | contribs) (Add line breaks in TH elements) Tag: 2017 source edit |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {| 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>}} | |
− | {{ #if: {{{ | + | }} |
− | < | + | |- 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 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 | |
− | + | | | |
− | {{# | + | {{#if:{{{Permission|{{{permission|}}}}}} |
− | <tr style="vertical-align: top"> | + | | {{{Permission|{{{permission}}}}}} |
− | < | + | | See below. |
− | + | }} | |
− | {{{ | + | {{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} |
− | </td> | + | | = |
+ | | - = | ||
+ | | 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|}}}}}}}}}}}} | |
− | + | | = | |
− | {{#switch: {{{ | + | | - = |
− | | = | + | | none = |
− | | - = | ||
− | | none = | ||
| #default = | | #default = | ||
− | <tr style="vertical-align: top"> | + | <tr style="vertical-align:top;"> |
− | < | + | <th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_add"> |
− | <td> | + | Additional information |
− | {{{ | + | </th> |
− | </td> | + | <td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td> |
</tr> | </tr> | ||
}} | }} | ||
− | + | |}<noinclude> | |
− | < | + | For usage information, see https://en.wikipedia.org/wiki/Template:Information. |
− | {{{ | + | <templatedata> |
− | + | { | |
− | + | "params": { | |
− | + | "description": { | |
− | For | + | "label": "description of the file", |
− | </noinclude> | + | "type": "string", |
+ | "aliases": [ | ||
+ | "Description" | ||
+ | ], | ||
+ | "description": "Describe of the content, (historical) background, and in the case of scientific data, a brief scientific analysis of the media file.", | ||
+ | "required": true | ||
+ | }, | ||
+ | "location": { | ||
+ | "description": "Location at which the image was taken.", | ||
+ | "aliases": [ | ||
+ | "Location" | ||
+ | ] | ||
+ | }, | ||
+ | "source": { | ||
+ | "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. ", | ||
+ | "aliases": [ | ||
+ | "Source" | ||
+ | ], | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "date": { | ||
+ | "label": "creation date", | ||
+ | "aliases": [ | ||
+ | "Date" | ||
+ | ], | ||
+ | "description": "Date of creation or date of publication. Use the year or YYYY-MM-DD format (e.,g., 2021-04-16).", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "author": { | ||
+ | "aliases": [ | ||
+ | "Author" | ||
+ | ], | ||
+ | "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.", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "permission": { | ||
+ | "aliases": [ | ||
+ | "Permission" | ||
+ | ], | ||
+ | "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.", | ||
+ | "default": "See below.", | ||
+ | "label": "permission (extra information)", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "other_versions": { | ||
+ | "description": "\t 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.", | ||
+ | "type": "string", | ||
+ | "aliases": [ | ||
+ | "other versions", | ||
+ | "Other versions", | ||
+ | "Other_versions" | ||
+ | ] | ||
+ | }, | ||
+ | "additional_information": { | ||
+ | "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.", | ||
+ | "type": "string" | ||
+ | } | ||
+ | }, | ||
+ | "description": "Template used for input of information on file description pages. This is used by the Upload Wizard.", | ||
+ | "format": "block" | ||
+ | } | ||
+ | </templatedata></noinclude> |
Latest revision as of 15:14, 30 November 2021
Description |
No description provided. |
---|---|
Source |
No source specified. Please edit this file description and provide a source. |
Date |
|
Author |
No description provided. |
Permission |
See below.
|
For usage information, see https://en.wikipedia.org/wiki/Template:Information.
Template used for input of information on file description pages. This is used by the Upload Wizard.
Parameter | Description | Type | Status | |
---|---|---|---|---|
description of the file | 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 |
Location | location Location | Location at which the image was taken. | Unknown | optional |
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. | String | required |
creation date | date Date | Date of creation or date of publication. Use the year or YYYY-MM-DD format (e.,g., 2021-04-16). | 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 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 |