ਫਰਮਾ:Count
ਦਿੱਖ
0
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
Returns a number from (0 or 1) to 10 indicating the number of defined parameters passed. Currently supports a maximum of 10 parameters.
Usage
[ਸੋਧੋ]Set base=0 or base=1 to change from the default value returned if there are no defined parameters. (i.e. If no defined parameters, returns 0 by default (or 1 if base=1))
Examples
[ਸੋਧੋ]Note: {{ Count/testcase1 }} tests nesting of templates calling {{ Count }}.
See also
[ਸੋਧੋ]- {{Counter}}
- module:ParameterCount, with more options