Template:Component infobox field/Sandbox/doc

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


Description[edit source]

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

Syntax[edit source]

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

Parameters[edit source]

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.