Template:Information field

From OpenMedia
Jump to: navigation, search


[edit]

Documentation


No description yet available.

Usage

{{Information_field|name=|value=}}

Allows to specify any additional description line - see examples

The following possible notations are equivalent:
{{Information field|name=nnn|value=vvv}}
{{Information field|Value=vvv|Name=nnn}}
{{Information field|nnn|vvv}}
{{Information field|1=nnn|2=vvv}}

Parameters

Parameter name Description Default value required or optional?

name Name of the field. It will appear in bold on the left side of the table.
→ Alternatively unnamed parameter #1 and "Name" (with capital N) can be used.
none required
value Contents of the field. It will appear on the right side of the table.
→ Alternatively unnamed parameter #2 and "Value" (with capital V) can be used.
none required
class additional class parameter values empty optional
style additional style parameter values 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: all users

Placement:

Within the template {{Information}}, at Other_fields= (or similar)

See also

{{Credit line}}

Examples

{{Information
|description=description
|date=2011-11-11
|source={{Own}}
|author={{Ut|Author name}}
|permission=
|other_versions=
|other_fields={{Information field|name=Used colors|value=
{{Tbc|1|255|0|0|red}}
{{Tbc|4|0|0|255|blue}} }} }}
Description description
Date
Source Own work
Author Author name
Used colors
red rendered as RGB 255 000 000
blue rendered as RGB 000 000 255



{{Artwork
|Artist = Artist name
|Title = Title
|Year = {{other date|between|1503|1505}}
|Technique = {{technique|oil|poplar panel}}
|Dimensions = {{size|cm|76.8|53}}
|Source = source
|Other versions = 
|Other fields = {{Information field|Name=Field Name|Value=Field Value}}
}}
will produce
Artist Artist name
Title Title
Date between and
Medium oil on poplar wood
Dimensions 76.8 × 53 cm (30.2 × 20.9 in)
Source/Photographer source
Field Name Field Value



{{Artwork
|Artist = Artist name
|Title = Title
|Year = {{other date|between|1503|1505}}
|Technique = {{technique|oil|poplar panel}}
|Dimensions = {{size|cm|76.8|53}}
|Source = source
|Other versions = 
|Other fields = 
{{Information field|Field Name 1|Field Value 1}}
{{Information field|Field Name 2|Field Value 2}}
{{Information field|Field Name 3|Field Value 3}}
}}
will produce
Artist Artist name
Title Title
Date between and
Medium oil on poplar wood
Dimensions 76.8 × 53 cm (30.2 × 20.9 in)
Source/Photographer source
Field Name 1 Field Value 1
Field Name 2 Field Value 2
Field Name 3 Field Value 3