Difference between revisions of "Template:Information"

From DFM Wiki
m (use lowercase parameters)
Tag: 2017 source edit
(Add line breaks in TH elements)
Tag: 2017 source edit
 
(5 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"
 
{| 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
+
! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |
 +
Description
 
| {{{Location|}}}
 
| {{{Location|}}}
 
{{#if: {{{Description|{{{description|}}}}}}  
 
{{#if: {{{Description|{{{description|}}}}}}  
Line 7: Line 8:
 
}}
 
}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} |
 +
Source
 
|  
 
|  
 
{{#if:{{{Source|{{{source|}}}}}}
 
{{#if:{{{Source|{{{source|}}}}}}
Line 14: Line 16:
 
}}
 
}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! style="background:#ccf; text-align:right; padding-right:0.4em; white-space:nowrap;" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date
+
! style="background:#ccf; text-align:right; padding-right:0.4em; white-space:nowrap;" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} |  
 +
Date
 
|
 
|
 
{{{Date|{{{date|}}}}}}
 
{{{Date|{{{date|}}}}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} |  
 +
Author
 
|
 
|
 
{{#if: {{{Author|{{{author|}}}}}}  
 
{{#if: {{{Author|{{{author|}}}}}}  
Line 25: Line 29:
 
}}
 
}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"|}} | Permission<br /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this file]])</small>
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"|}} |  
 +
Permission
 
|
 
|
 
{{#if:{{{Permission|{{{permission|}}}}}}
 
{{#if:{{{Permission|{{{permission|}}}}}}
Line 47: Line 52:
 
| #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"> Additional information </th>
+
<th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_add">  
 +
Additional information  
 +
</th>
 
<td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td>
 
<td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td>
 
</tr>
 
</tr>
Line 57: Line 64:
 
"params": {
 
"params": {
 
"description": {
 
"description": {
"label": "Description of the file",
+
"label": "description of the file",
"type": "wiki-template-name"
+
"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": {
 
"location": {
"description": "Location at which the image was taken."
+
"description": "Location at which the image was taken.",
 +
"aliases": [
 +
"Location"
 +
]
 
},
 
},
 
"source": {
 
"source": {
"description": "Original source of this work, such as the URL of an image taken from the Internet."
+
"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": {
 
"date": {
"label": "Creation 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"
 
},
 
},
"author": {},
 
"permission": {},
 
 
"other_versions": {
 
"other_versions": {
"label": "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.",
"description": "Link to other file versions on the wiki.",
+
"type": "string",
"type": "wiki-file-name"
+
"aliases": [
 +
"other versions",
 +
"Other versions",
 +
"Other_versions"
 +
]
 
},
 
},
 
"additional_information": {
 
"additional_information": {
"label": "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."
+
"description": "Template used for input of information on file description pages. This is used by the Upload Wizard.",
 +
"format": "block"
 
}
 
}
 
</templatedata></noinclude>
 
</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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
description of the filedescription Description

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

Stringrequired
Locationlocation Location

Location at which the image was taken.

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

Stringrequired
creation datedate Date

Date of creation or date of publication. Use the year or YYYY-MM-DD format (e.,g., 2021-04-16).

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.

Default
See below.
Stringoptional
Other_versionsother_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.

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