Template:Information field/doc: Difference between revisions
Template page
More actions
No edit summary |
update documentation |
||
| Line 8: | Line 8: | ||
|2d=Contents of the field. It will appear on the table. | |2d=Contents of the field. It will appear on the table. | ||
|2stat=required | |2stat=required | ||
|name= | |name= | ||
| Line 39: | Line 34: | ||
|permission= | |permission= | ||
|other_versions= | |other_versions= | ||
|other fields = {{Information field|name=Field Name|value=Field Value | |other fields = {{Information field|name=Field Name|value=Field Value}} | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
{{Information | {{Information | ||
| Line 48: | Line 43: | ||
|permission= | |permission= | ||
|other_versions= | |other_versions= | ||
|other fields = {{Information field|name=Field Name|value=Field Value | |other fields = {{Information field|name=Field Name|value=Field Value}} | ||
}} | }} | ||
| Line 59: | Line 54: | ||
|Source = source | |Source = source | ||
|Other versions = | |Other versions = | ||
|Other fields = {{Information field|name=Field Name|value=Field Value | |Other fields = {{Information field|name=Field Name|value=Field Value}} | ||
}}</nowiki></pre> will produce | }}</nowiki></pre> will produce | ||
{{Artwork | {{Artwork | ||
| Line 69: | Line 64: | ||
|Source = source | |Source = source | ||
|Other versions = | |Other versions = | ||
|Other fields = {{Information field|name=Field Name|value=Field Value | |Other fields = {{Information field|name=Field Name|value=Field Value}} | ||
}} | }} | ||
| Line 81: | Line 76: | ||
|Other versions = | |Other versions = | ||
|Other fields = | |Other fields = | ||
{{Information field|name=Field Name 1|value=Field Value 1 | {{Information field|name=Field Name 1|value=Field Value 1}} | ||
{{Information field|name=Field Name 2|value=Field Value 2 | {{Information field|name=Field Name 2|value=Field Value 2}} | ||
{{Information field|name=Field Name 3|value=Field Value 3 | {{Information field|name=Field Name 3|value=Field Value 3}} | ||
}}</nowiki></pre> will produce | }}</nowiki></pre> will produce | ||
{{Artwork | {{Artwork | ||
| Line 94: | Line 89: | ||
|Other versions = | |Other versions = | ||
|Other fields = | |Other fields = | ||
{{Information field|name=Field Name 1|value=Field Value 1 | {{Information field|name=Field Name 1|value=Field Value 1}} | ||
{{Information field|name=Field Name 2|value=Field Value 2 | {{Information field|name=Field Name 2|value=Field Value 2}} | ||
{{Information field|name=Field Name 3|value=Field Value 3 | {{Information field|name=Field Name 3|value=Field Value 3}} | ||
}} | }} | ||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 05:23, 22 January 2012
No description yet available.
Usage
{{Information field/doc |name= |value= }}
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 | |
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}}
}}
| 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}}
}}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}}
{{Information field|name=Field Name 2|value=Field Value 2}}
{{Information field|name=Field Name 3|value=Field Value 3}}
}}will produce