Template:Component infobox field

From 7 Days to Die Wiki
Jump to navigation Jump to search
Template-info.png Documentation


Description

Adds a field to an infobox with associated "name" and "value".

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.

es:Plantilla:Component infobox field de:Vorlage:Component infobox field