Template:Component infobox field/Sandbox/doc

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.)
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.

es:Plantilla:Component infobox field/Sandbox/doc