Template documentation (for the above template, sometimes hidden or invisible)
La documentation de ce modèle est marqué comme étant à revoir. Merci de la compléter ou mettre à jour.
Description
Validates a value, which can be a list, individually 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 = | valuelink = }}
Parameters
Parameter | Default Value | Description |
---|---|---|
value | Comma separated list of values to be validated. | |
list | A comma separated list of valid values. If a value has a % followed by a link name, then this link name will be used instead of the value. | |
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. | |
valuelink | Are the individual values links. |
La documentation ci-dessus est une transclusion de Modèle:Validate list list/doc. (edit | history)
Voir Modèle:Validate list list/doc pour apporter des changements à ce texte ! (Comment ça marche?)