Template:Cat color flags/testcases

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

No arguments[edit]

{{cat color flags}}

Error in Module:Cat color flags: supply at least one argument.

Too many arguments[edit]

{{cat color flags|red|orange|yellow|green|blue|purple|pink}}

Error: Module:Cat color flags only supports up to 5 arguments.

One argument[edit]

{{cat color flags|red}}
{{cat color flags|red|country=Japan}}
{{cat color flags|bicolor}}
{{cat color flags|bicolor|country=Japan}}

Two arguments[edit]

{{cat color flags|red|white}}
{{cat color flags|red|white|country=Japan}}

Three arguments[edit]

{{cat color flags|red|orange|yellow}}

Lua error: too many expensive function calls.

{{cat color flags|red|orange|yellow|country=Japan}}
Lua error: too many expensive function calls.
Intersect categories

Four arguments[edit]

{{cat color flags|red|orange|yellow|green}}

Lua error: too many expensive function calls.

{{cat color flags|red|orange|yellow|green|country=Japan}}
Lua error: too many expensive function calls.

Five arguments[edit]

{{cat color flags|red|orange|yellow|green|blue}}

Lua error: too many expensive function calls.

{{cat color flags|red|orange|yellow|green|blue|country=Japan}}
Lua error: too many expensive function calls.