Module:Check ISIN/doc

This module checks ISINs for validity. A valid ISIN is 12 characters long. It starts with two alphabetic characters indicating the issuing country, followed by nine alphanumeric characters that identify the security, and a final numerical check digit.

The module's public functions are check for template use, and _check for direct Lua calls. The default return values are valid and invalid.

Usage
Invoke with:

Parameters:
 * isin: The ISIN to check. Must be supplied.
 * valid: String to return if the ISIN in valid. Optional. Default is valid.
 * invalid: String to return if the ISIN in invalid. Optional. Default is invalid.

Parameters may also be supplied by position, in the order shown above.

Examples

 * Using results in:
 * Using results in:
 * Using results in:
 * Using results in: