Module:Compact list/doc

Usage
Lua code for inside of another template (e.g., an infobox). Creates a compact list out of a set of named arguments. For example, if the argument to this module is "foo", it searches for all arguments named "foo" followed by an optional underscore followed by one or more digits. It then assembles all of the named argument into a "pretty printed" list, in numerical order. If the list is short (<= 4 long), the module uses enum to print in the "A, B, C or D" format. If it is long, it will use collapsible list. The threshold can be set with _limit.

Typical usage in a parent template, which gathers all arguments named "foo":

Examples
Note: these examples have the named arguments passed to the module directly. In practice, these named arguments would be passed to the template that invokes the module.

→ A

→

→

→ A

B

C

D

E

→

→ A

B

C

D

E

F

G