Template:Information field/doc: Difference between revisions
Template page
More actions
m Reverted edits by Manugokulam (talk) to last revision by Jarekt |
No edit summary |
||
| Line 70: | Line 70: | ||
|Other versions = | |Other versions = | ||
|Other fields = {{Information field|name=Field Name|value=Field Value|style=html}} | |Other fields = {{Information field|name=Field Name|value=Field Value|style=html}} | ||
}} | |||
<pre><nowiki>{{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 1|value=Field Value 1|style=html}} | |||
{{Information field|name=Field Name 2|value=Field Value 2|style=html}} | |||
{{Information field|name=Field Name 3|value=Field Value 3|style=html}} | |||
}}</nowiki></pre> will produce | |||
{{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 1|value=Field Value 1|style=html}} | |||
{{Information field|name=Field Name 2|value=Field Value 2|style=html}} | |||
{{Information field|name=Field Name 3|value=Field Value 3|style=html}} | |||
}} | }} | ||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 14:34, 15 July 2011
No description yet available.
Usage
{{Information field/doc |name= |value= |Style= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
name | Name of the field. This name will appear on the left side of table, in bold. | empty | required | |
value | Contents of the field. It will appear on the table. | empty | required | |
Style | Table style used by the parent template. If using with {{Information}} use "Style=wiki". With {{Artwork}} use "Style=html". | wiki | 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
See also
Examples
{{Information
|description=description
|date=between 1503 and 1505
|source=source
|author=Artist name
|permission=
|other_versions=
|other fields = {{Information field|name=Field Name|value=Field Value|style=wiki}}
}}
| Description | description |
| Date | between 1503 and 1505 |
| Source | source |
| Author | Artist name |
| 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|name=Field Name|value=Field Value|style=html}}
}}will produce
{{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 1|value=Field Value 1|style=html}}
{{Information field|name=Field Name 2|value=Field Value 2|style=html}}
{{Information field|name=Field Name 3|value=Field Value 3|style=html}}
}}will produce