Template:Component infobox field/doc
Jump to navigation
Jump to search
Description
Adds a field to an infobox with associated "name" and "value".
- Must be used after a Component infobox header
- Must be used before a Component infobox footer
Syntax
{{Component infobox field | name = | value = | autocategory = | separator = % }}
Parameters
Parameter | Default Value | Description |
---|---|---|
name | Name of the field. | |
value | Value associated with the field. Only the text preceding the separator will be displayed. Text after the separator will be used for autocategorization (ex : foo%bar would display "foo" and categorize within the "bar" category.) | |
categorize | Enables auto-categorization for the field when non-empty. Auto-Categorized fields should ALWAYS be validated using a Validation Template | |
autocategory | Turns off auto-categorization. Allow for other systems to disable the auto-categorization, that would normally occur. eg. remove_version parameter will turn off auto-categorization by setting this parameter. | |
separator | % | Separator used for auto-categorization |
pre | If value exists, will be displayed before the value. | |
post | If value exists, will be displayed after the value, good for displaying units, %, etc. |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.
es:Plantilla:Component infobox field/doc de:Vorlage:Component infobox field/doc