ਫਰਮਾ:Information
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. |
Description | |
Source | |
Author | |
Other versions |
This template is basically a copy of {{information}} from Commons. |
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
This template uses TemplateStyles: |
(this part of the documentation is only available in some languages)
Please give full information for the description, date, source and author fields.
The date of a photograph must be when the original photograph was created, and not the date of upload, nor the date of scanning or digitizing. If the photographic image has been modified please give author, date and license for each modification. Please use template {{Artwork}} or {{Art photo}} if the image is of a painting, sculpture or other artwork and {{Book}} if the image is a part of a complete set of page scans of a book (or in the case of DjVu and PDF, one file may comprise all the pages).
This template is used to provide formatting to the basic information for files (description, source, author, etc.), and it is automatically inserted by the upload tools. All the field names are not case sensitive.
For a full usage description of the template, see Commons:First steps/Quality and description.
The template automatically sets the following categories: Category:Author matching Creator template, Creator template not used when appropriate
Usage
ਸੋਧੋ{{Information|description=|date=|source=|author=|permission=|other versions=}}
Parameters
Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional?
|
---|---|---|---|
description | SDC's captions followed by {{Description missing}} | required | |
date | empty | optional | |
source | {{Source missing}} | required | |
author | {{Author missing}} | required | |
permission | empty | optional | |
other versions | empty | optional | |
other fields | empty | optional | |
other fields 1 | empty | optional |
Additional information
ਸੋਧੋThe template is intended to be used in the following namespaces:
- the File namespace
The template is intended to be used by the following user groups:
Relies on:
Template:ISOdate, Template:Parse source, Module:TemplatePar
References:
TemplateData
ਸੋਧੋThis template is used to provide formatting to the basic information for files (description, source, author, etc.). For a full usage description of the template, see Commons:First steps/Quality and description.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Description | description Description | Description of the image or media file, including subject and location
| String | required |
Date of creation | date Date | When the original source was created
| Date | suggested |
Source | source Source | Where the file is from. Your own files should be tagged with {{own}}.
| String | required |
Author | author Author | Original author of the file; where appropriate, use {{Creator:Name Surname}}.
| Line | required |
Permission | permission Permission | License and other usage limitations and warnings | Content | suggested |
Other versions | other versions other_versions Other versions Other_versions | Links to files with very similar content or derived files | File | optional |
Other fields | other fields other_fields Other_fields Other fields | Additional table fields added on the bottom of the template | File | optional |
Other fields 1 | other fields 1 other_fields_1 Other_fields_1 Other fields 1 | Additional table fields added between Description and Date rows | File | optional |
lang | lang Lang | no description | Unknown | deprecated |
demo | demo Demo | no description | Unknown | deprecated |
Example usage
ਸੋਧੋExample for photograph
ਸੋਧੋFor example the source code of the description of photograph File:Piers Sellers spacewalk.jpg is:
{{{1}}}
The code hereinbefore produces the following information table:
Description | ਫਰਮਾ:En |
Date | |
Source | NASA News & Events – http://www.nasa.gov/externalflash/121_gallery/hi-resjpgs/14.jpg, from http://www.nasa.gov/externalflash/121_gallery/index_noaccess.html |
Author | NASA, astronaut Michael Edward Fossum |
Example other_fields
ਸੋਧੋExample using the other fields parameter to display a credit line:
{{Information | Description = Description | Date = 2008-06-09 | Source = {{own}} | Author = John Doe | Other fields = {{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GFDL}} }}
will produce:
Description | Description |
Date | |
Source | ਫਰਮਾ:Own |
Author | John Doe |
Microformat
ਸੋਧੋThis template also emits an hCalendar microformat marking the creation of the image as an event. To do this, it requires the {{Date}} template, and takes the file name as the "summary" property. Optionally, it can include an hCard microformat, and use the contents of {{Description}} as the hCalendar's "description" property.
See also Commons:Machine-readable data.
See also
ਸੋਧੋ- Commons:Infobox templates; for a more complete overview of provided templates see the Category:Infobox templates
- {{Book}} for specialized infobox template used for book page scans
- {{Information field}} and {{Credit line}}
- {{Translation table}} for category descriptions