Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Information field/doc: Difference between revisions

Template page
No edit summary
m expansion
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|1def= none
|2def= none
|1=name
|1=name
|1d=Name of the field. It will appear in bold on the left side of the table.
|1d=Name of the field. It will appear in bold on the left side of the table.<br> Instead of by "Name" it can be passed by the unnamed parameter #1.
|1def=none
|1stat=required
|1stat=required


|2=value
|2=value
|2d=Contents of the field. It will appear on the table.
|2d=Contents of the field. It will appear on the table.<br> Instead of by "Value" it can be passed by the unnamed parameter #2.
|2def=none
|2stat=required
|2stat=required


|3=class
|3=class
|3d=additional ''class'' parameter values
|3stat=optional-
|3stat=optional-


|4=style
|4=style
|4d=additional ''style'' parameter values
|4stat=optional-
|4stat=optional-


Line 54: Line 56:
{{Tbc|1|255|0|0|red}}
{{Tbc|1|255|0|0|red}}
{{Tbc|4|0|0|255|blue}}}}}}
{{Tbc|4|0|0|255|blue}}}}}}


----
----
Line 77: Line 80:
|Other fields = {{Information field|name=Field Name|value=Field Value}}
|Other fields = {{Information field|name=Field Name|value=Field Value}}
}}
}}


----
----
Line 89: Line 93:
|Other versions =  
|Other versions =  
|Other fields =  
|Other fields =  
{{Information field|name=Field Name 1|value=Field Value 1}}
{{Information field|Field Name 1|Field Value 1}}
{{Information field|name=Field Name 2|value=Field Value 2}}
{{Information field|Field Name 2|Field Value 2}}
{{Information field|name=Field Name 3|value=Field Value 3}}
{{Information field|Field Name 3|Field Value 3}}
}}</nowiki></pre> will produce  
}}</nowiki></pre> will produce  
{{Artwork
{{Artwork
Line 102: Line 106:
|Other versions =  
|Other versions =  
|Other fields =  
|Other fields =  
{{Information field|name=Field Name 1|value=Field Value 1}}
{{Information field|Field Name 1|Field Value 1}}
{{Information field|name=Field Name 2|value=Field Value 2}}
{{Information field|Field Name 2|Field Value 2}}
{{Information field|name=Field Name 3|value=Field Value 3}}
{{Information field|Field Name 3|Field Value 3}}
}}
}}
<includeonly>
<includeonly>

Revision as of 08:45, 28 February 2013

No description yet available.

Usage

{{Information_field |name= |value= }}

Template parameters

ParameterDescriptionDefaultStatus
nameName of the field. It will appear in bold on the left side of the table.
Instead of by "Name" it can be passed by the unnamed parameter #1.
nonerequired
valueContents of the field. It will appear on the table.
Instead of by "Value" it can be passed by the unnamed parameter #2.
nonerequired
classadditional class parameter valuesemptyoptional
styleadditional style parameter valuesemptyoptional

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=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
InfoField
Template:Tbc Template:Tbc



{{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

Template:Artwork



{{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

Template:Artwork

Cookies help us deliver our services. By using our services, you agree to our use of cookies.