Template:Information field/doc: Difference between revisions
Template page
More actions
Some documentation is better than nothing |
No edit summary |
||
| 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 | ||
|3=Style | |||
|3d=Table style used by the parent template. If using with {{tl|Information}} use "Style=wiki". With {{tl|Artwork}} use "Style=html". | |||
|3def=wiki | |||
|3stat=optional | |||
|name= | |name= | ||
| Line 19: | Line 24: | ||
|i18n-method= | |i18n-method= | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso={{tl|Credit line}} | ||
|setscats= | |setscats= | ||
|lines= | |lines= | ||
| Line 25: | Line 30: | ||
|relieson= | |relieson= | ||
}} | }} | ||
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly> | |||
==Examples== | |||
<pre><nowiki>{{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}} | |||
}}</nowiki></pre> | |||
{{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}} | |||
}} | |||
<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|value=Field Value|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|value=Field Value|style=html}} | |||
}} | |||
<includeonly> | |||
[[Category:Formatting templates|{{PAGENAME}}]] | |||
</includeonly> | |||
Revision as of 17:27, 25 April 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