Plantilla:Component infobox field/doc

De 7 Days to Die Wiki
Saltar a: navegación, buscar
Template-info.png Documentation

Description[editar código]

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

Syntax[editar código]

{{Component infobox field
| name = 
| value = 
| autocategory = 
| separator = %
}}

Parameters[editar código]

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.)
autocategory Enables auto-categorization for the field when non-empty.
Auto-Categorized fields should ALWAYS be validated using a Validation Template
separator % Separator used for auto-categorization

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.