Template:Information: Difference between revisions
No edit summary |
Tweaks |
||
(15 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Information/ | <templatestyles src="Information/styles.css" /> | ||
<div class=" | <div class="information-table"> | ||
<!-- Description --> | <!-- Description --> | ||
< | <div class="information-table-row"> | ||
< | <div id="fileinfotpl_desc" class="fileinfo-paramfield">Description <small>''(required)''</small><span class="summary fn" style="display:none">{{PAGENAME}}</span></div> | ||
< | <div class="description">{{ #if: {{{Description|{{{description|}}}}}} | {{{Description|{{{description|}}}}}} | {{Description missing}} }}</div> | ||
</ | </div> | ||
<!-- Source --> | <!-- Source --> | ||
< | <div class="information-table-row"> | ||
< | <div id="fileinfotpl_src" class="fileinfo-paramfield">Source <small>''(required)''</small></div> | ||
< | <div>{{ #if: {{{Source|{{{source|}}}}}} | {{{Source|{{{source|}}}}}} | {{Description missing|source information}} }}</div> | ||
</ | </div> | ||
<!-- Author --> | <!-- Author --> | ||
< | <div class="information-table-row"> | ||
< | <div id="fileinfotpl_aut" class="fileinfo-paramfield">Author <small>''(required)''</small></div> | ||
< | <div>{{ #if: {{{Author|{{{author|}}}}}} | {{{Author|{{{author|}}}}}} | {{Description missing|author information}} }}</div> | ||
</ | </div> | ||
<!-- | <!-- Permission --> | ||
< | <div class="information-table-row"> | ||
< | <div id="fileinfotpl_perm" class="fileinfo-paramfield">Permission</div> | ||
< | <div>{{ #if: {{{Permission|{{{permission|}}}}}} | {{{Permission|{{{permission|}}}}}} <br />''See license below''.| }}</div> | ||
</ | </div> | ||
<!-- Date --> | |||
<div class="information-table-row"> | |||
<div id="fileinfotpl_aut" class="fileinfo-paramfield">Date</div> | |||
<div>{{{Date|{{{date|}}}}}}</div> | |||
</div> | |||
<!-- Other versions --> | <!-- Other versions --> | ||
{{#switch: {{{other_versions|{{{ | {{#switch: {{{Other versions|{{{other versions|{{{Other_versions|{{{other_versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}} | ||
| = | |||
| - = | |||
| none = | |||
| #default = | |||
<div class="information-table-row"> | |||
<div id="fileinfotpl_ver" class="fileinfo-paramfield" >Other versions</div> | |||
<div> | |||
{{{Other versions|{{{other versions|{{{Other_versions|{{{other_versions|}}} }}} }}} }}} | |||
</div> | |||
</div> | |||
}} | |||
<!-- Additional information --> | |||
{{#switch: {{{Additional information|{{{additional information|{{{Additional_information|{{{additional_information|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}} | |||
| = | | = | ||
| - = | | - = | ||
| none = | | none = | ||
| #default = | | #default = | ||
< | <div class="information-table-row"> | ||
< | <div id="fileinfotpl_add" class="fileinfo-paramfield">Additional information</div> | ||
< | <div> | ||
{{{ | {{{Additional information|{{{additional information|{{{Additional_information|{{{additional_information|}}} }}} }}} }}} | ||
</ | </div> | ||
</ | </div> | ||
}} | }} | ||
</table> | </table> | ||
</div><noinclude>{{ | </div><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 14:31, 24 April 2025
Template:Documentation subpage Template:Dependencies Template:Uses TemplateStyles
Usage
Full | Without optional fields |
---|---|
{{Information
| description =
| source =
| date =
| author =
| permission =
| other_versions =
| additional_information =
}}
|
{{Information
| description =
| source =
| date =
| author =
}}
|
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.
Parameters
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.
- source
- Explain where the image is acquired from. Please specify accurately. For instance:
- Work of the uploader themselves: 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.
Other parameters
- 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.
- date
- Date of creation, or date of publication. 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.
- 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:
- Source site: http://www.astro.uu.se/history/Celsius_eng.html
- Source URL: http://www.astro.uu.se/history/images/celsius3.jpg
File:Anders-Celsius.jpeg (full image)
TemplateData
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 work". 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 |
Author | 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 | permission permission | Please provide the license that followed with this image, or if it's your own image, please provide a license. | String | required |
Date | date date | Date of creation or date of publication. 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 |
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. | String | optional |
Additional information | additional_information Additional_information additional_information additional information | Contains other information about this image that doesn't fit somewhere else. | String | optional |