Plantilla:Validate bool

De 7 Days to Die Wiki
Saltar a: navegación, buscar
  1. REDIRECCIÓN Plantilla:ToTranslate
Template-info.png Documentation

Description[editar código]

Validates a boolean value and returns it in a given format

Syntax[editar código]

{{Validate bool
| value = 
| format = true/false
| separator = %
| category = 
}}

Parameters[editar código]

Parameter Default Value Description
value Value to be validated.
Recognized Values:
1, y, yes, t, true = TRUE
0, n, no, f, false = FALSE
format true/false format in which the output should be presented.
Recognized Values:
1/0
yes/no
Unrecognized values will result in using the true/false format
separator % Separator to used if the returned value includes a category
category Category used for auto-categorization provided the return value is TRUE