Vorlage:Component infobox field

Aus 7 Days to Die Wiki
Version vom 21. Oktober 2016, 16:48 Uhr von @DeletedUser40289030 (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude>{{Component infobox header}}</noinclude>|-style="{{#if: {{#explode: {{{value|}}} |{{{separator|%}}}|0}}| | display: none;}}" | style="font-size:95%;…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
{{{name}}}
No image yet
|-style="display: none;" '
Template-info.png Dokumentation

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