Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Template:Validate bool

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

Description[edit source]

Validates a boolean value and returns it in a given format

Syntax[edit source]

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

Parameters[edit source]

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:
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