Template:Validate list
Jump to navigation
Jump to search
Template documentation (for the above template, sometimes hidden or invisible)
This template's documentation has been marked as bad. Please improve or add to it.
Description
Validates a value against a supplied list, this is done case insensitively, and returns the version from the list, thus supplying a consistent version, that could be used as a link to a page.
Syntax
{{Validate list | value = | list = | value_not_found = | empty = }}
Parameters
Parameter | Default Value | Description |
---|---|---|
value | Value to be validated. | |
list | A comma separated list of valid values. | |
value_not_found | Value to return (default) if the value is not found in the list. | |
empty | Value to be returned if the value is empty, or does not exist. |
The above documentation is transcluded from Template:Validate list/doc. (edit | history)
es:Plantilla:Validate list
de:Vorlage:Validate list
Visit Template:Validate list/doc to edit this text! (How does this work?)
es:Plantilla:Documentation es:Plantilla:Validate list de:Vorlage:Validate list