Template:Biohist-information

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Permission
(Reusing this file)
Other versions
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Biohist-information/doc.

This is just a crudely modified copy of {{Information}} with most fields deleted. It serves as a basis for {{Biohist}} using {{Information field}}. Biohist doesn't need the fields Description etc.

Usage

{{Biohist-information
 |permission     =
 |other_versions =
}}

Template parameters

ParameterDescriptionDefaultStatus
permission
Permission
License and other usage limitations and warnings. Due to the size of many license templates they are often placed in a separate section below {{Information}} template. In such a case please leave this field blank.
The license is related primarily to the file itself. If need to state a license of the depicted (or other source) work, include it additionally with appropriate comment. If needed, use relevant FoP templates. You can use {{Artwork}} instead of {{Information}} for simple copies of artworks.
emptyoptional
other_versions
Other_versions
other versions
Other versions
Links to files with very similar content or derived files; use thumbnails or Gallery tags <gallery> </gallery>.

{{F}} enables to show also small icons of these files.

If appropriate, {{Derivative versions}} is useful.
emptyoptional
other_fields
Other_fields
other fields
Other fields
Additional table fields added on the bottom of the template. You have to use {{Information field}} or a specialized template such as {{Credit line}} and {{Image generation}} to populate this field.emptyoptional
other_fields_1
Other_fields_1
other fields 1
Other fields 1
Additional table fields added between Description and Date rows. You have to use {{Information field}} or a specialized template such as {{Credit line}} and {{Image generation}} to populate this field.emptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

'''This is just a crudely modified copy of [[:Template:Information|<span style="font-family:monospace,monospace;">&#123;&#123;Information&#125;&#125;</span>]] with most fields deleted. It serves as a basis for [[:Template:Biohist|<span style="font-family:monospace,monospace;">&#123;&#123;Biohist&#125;&#125;</span>]] using [[:Template:Information field|<span style="font-family:monospace,monospace;">&#123;&#123;Information field&#125;&#125;</span>]]. Biohist doesn't need the fields Description etc.'''

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
other_fields Other_fields other fields Other fields

Additional table fields added on the bottom of the template. You have to use <tr style="vertical-align: top"><td style="" class="fileinfo-paramfield " ><div style="display: none;">InfoField</div></td><td style="" ></td>

</tr> or a specialized template such as <tr style="vertical-align: top"><td style="" class="fileinfo-paramfield " >Attribution<br/><small>([[Commons:Credit line|required by the license]])</small><div style="display: none;">InfoField</div></td><td style="" ><div class="plainlinks noprint" style="display:inline;>&nbsp;</div></td> </tr><tr style="vertical-align: top"><td style="display:none;" class="fileinfo-paramfield fileinfotpl_credit" id="fileinfotpl_credit"><div style="display: none;">InfoField</div></td><td style="display:none;" >[[Category:Information field template with formatting]]</td>

</tr> and <div style="vertical-align:middle"><div style="display:inline-block;width:auto;white-space:nowrap;vertical-align:middle;direction:ltr;float:ltr;line-height:22px;height:24px;font-size:.96em;margin:0px;padding:2px 4px 2px 6px;color:#000;background:#F8F9FA;border:1px solid #BAB;">[[File:Inkscape-def.svg|36x22px]]&nbsp;<div lang="en" dir="ltr" class="description en" style="display:inline;">This &#32;[[:w:Computer graphics|graphic]]&#32;was created with [[:w:Inkscape|Inkscape]].</div></div></div> to populate this field.

Stringoptional
other_fields_1 Other_fields_1 other fields 1 Other fields 1

Additional table fields added between ''Description'' and ''Date'' rows. You have to use <tr style="vertical-align: top"><td style="" class="fileinfo-paramfield " ><div style="display: none;">InfoField</div></td><td style="" ></td>

</tr> or a specialized template such as <tr style="vertical-align: top"><td style="" class="fileinfo-paramfield " >Attribution<br/><small>([[Commons:Credit line|required by the license]])</small><div style="display: none;">InfoField</div></td><td style="" ><div class="plainlinks noprint" style="display:inline;>&nbsp;</div></td> </tr><tr style="vertical-align: top"><td style="display:none;" class="fileinfo-paramfield fileinfotpl_credit" id="fileinfotpl_credit"><div style="display: none;">InfoField</div></td><td style="display:none;" >[[Category:Information field template with formatting]]</td>

</tr> and <div style="vertical-align:middle"><div style="display:inline-block;width:auto;white-space:nowrap;vertical-align:middle;direction:ltr;float:ltr;line-height:22px;height:24px;font-size:.96em;margin:0px;padding:2px 4px 2px 6px;color:#000;background:#F8F9FA;border:1px solid #BAB;">[[File:Inkscape-def.svg|36x22px]]&nbsp;<div lang="en" dir="ltr" class="description en" style="display:inline;">This &#32;[[:w:Computer graphics|graphic]]&#32;was created with [[:w:Inkscape|Inkscape]].</div></div></div> to populate this field.

Stringoptional
other_versions Other_versions other versions Other versions

Links to files with very similar content or derived files; use thumbnails or Gallery tags.

Stringoptional
permission Permission

License and other usage limitations and warnings. Due to the size of many license templates they are often placed in a separate section below [[:Template:Information|<span style="font-family:monospace,monospace;">&#123;&#123;Information&#125;&#125;</span>]] template. In such a case please leave this field blank. <br/>The license is related primarily to the file itself. If need to state a license of the depicted (or other source) work, include it additionally with appropriate comment. If needed, use relevant [[:Category:FoP templates|FoP templates]]. You can use [[:Template:Artwork|<span style="font-family:monospace,monospace;">&#123;&#123;Artwork&#125;&#125;</span>]] instead of [[:Template:Information|<span style="font-family:monospace,monospace;">&#123;&#123;Information&#125;&#125;</span>]] for simple copies of artworks.

Unknownoptional

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: all users

Relies on:
Template:ISOdate, Template:Parse source, Module:TemplatePar

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).

See also