Template:Validate bool/doc
Jump to navigation
Jump to search
Description
Validates a boolean value and returns it in a given format
Syntax
{{Validate bool | value = | format = true/false | separator = % | category = }}
Parameters
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 |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.
de:Vorlage:Validate bool/doc es:Plantilla:Validate bool/doc