Hello, you have come here looking for the meaning of the word
Template:choose. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Template:choose, but we will also tell you about its etymology, its characteristics and you will know how to say
Template:choose in singular and plural. Everything you need to know about the word
Template:choose you have here. The definition of the word
Template:choose will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Template:choose, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
- The following documentation is located at Template:choose/documentation.
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template returns only one among multiple unnamed parameters. It is, technically, a cleaner and stricter variety of {{#switch:}}.
Usage
Just fill multiple unnamed (positional) parameters with contents and input a number to the named parameter |choice=
. If no number is input, "1" is assumed.
Examples
{{choose|cat|dog|mouse|choice=2}}
returns:
dog
{{choose|cat|dog|mouse|choice=3}}
returns:
mouse
{{choose|apple|pear|watermelon|banana|choice=1}}
returns:
apple
{{choose|apple|pear|watermelon|banana}}
returns:
apple
{{choose|apple|pear|watermelon|banana|choice=4}}
returns:
banana
See also