Module:Sandbox/Artoria2e5/Fallback/doc

Usage
This module provides a function which adds fallback functionalities to a given table args according to the fallback sequence given in arg_aliases. Note that this module currently only supports indexing, i.e..

Parameters

 * args: The table to add fallback functionalities.
 * arg_aliases: A table of the form.

Example
The following snippet adds template parameter aliases to a metatable obtained from Module:Arguments.

The following snippet shows basic usage of indexing fallback.

The following snippet creates a fallback list with all fallback names aliasing back to the main name.