Template:Count

From HandWiki
Revision as of 08:32, 11 August 2022 by imported>Neveselbert (cr.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Expression error: Unexpected < operator.

Template documentation[view] [edit] [history] [purge]

Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value). 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}}.

Call Result
{{ Count| A| B| | D}} Expression error: Unexpected < operator.
{{ Count/testcase1}} Expression error: Unexpected < operator.
{{ Count/testcase1| base=1}} Expression error: Unexpected < operator.
{{ Count/testcase1| base=0}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| base=0}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| base=1}} Expression error: Unexpected < operator.
{{ Count/testcase1| | DEF}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF| }} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF| ghi}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| | ghi}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF| ghi| JKL| mno| PQR| stu| VWX| yz#}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF| ghi| JKL| mno| PQR| stu| VWX| yz@|  #$%}} Expression error: Unexpected < operator.
{{ Count/testcase1| abc| DEF| ghi| JKL| mno| PQR| stu| VWX| yz@|  #$%| ^&*| ()_| +:"| 123| 456| 789| 000}} Expression error: Unexpected < operator.   Only counts to 10 right now!
{{ Count/testcase1| abc| | ghi| | mno| | stu| | yz@| }} Expression error: Unexpected < operator.
{{ Count/testcase1| | DEF| | JKL| | PQR| | VWX| |  #$%}} Expression error: Unexpected < operator.
{{ Count/testcase1| DEF| JKL| PQR| VWX|  #$%}} Expression error: Unexpected < operator.
{{ Count/testcase1| | | | | | | | | |  #$%}} Expression error: Unexpected < operator.
{{ Count/testcase1| | | | | | | | | }} Expression error: Unexpected < operator.
{{ Count/testcase1| | | | | | | | | | base=0}} Expression error: Unexpected < operator.
{{ Count/testcase1| | | | | | | | | | base=1}} Expression error: Unexpected < operator.
{{ Count/testcase1| base=0| | | | | | | | | }} Expression error: Unexpected < operator.
{{ Count/testcase1| base=1| | | | | | | | | }} Expression error: Unexpected < operator.
{{ Count/testcase1| base=0| | | | | | PQR| | | }} Expression error: Unexpected < operator.
{{ Count/testcase1| base=1| | | | | | PQR| | | }} Expression error: Unexpected < operator.

See also