Module:UtilsArg/doc

This module takes care of parsing and validating template input, allowing module developers to focus on core logic. It aims to achieve the same goal as Wikipedia's but with a different approach:
 * Parameter validation is based on the same data as the documentation. This ensures that the documentation is always accurate.
 * No implicit behaviour. If you want to trim a parameter, you specify . If you want to treat empty strings as nil, you specify  . Module:Arguments does several things "automagically" by default and lacks clarity as a result.
 * No frame handling. It's up to the caller to consolidate  and  . This is trivial to do—most of the time a module only needs one or the other, and utilsTable.merge can be used when this is not the case.