Global Lua Modules

__FORCETOC__
This is a list of Global Lua modules with a short description of their usage. Learn how to use them in a short guide here.
Notes:
* Modules marked with were ported from Wikipedia.
* Modules marked with were ported from GitHub.
== Invocable modules ==
These modules can be loaded with {{#invoke:}} or a template containing such.
Name	Description 	Category
 	Creates dated statements and categorizes page. 	Utility
 	Automatically changes categories/templates after xx days. 	Utility
 	Adds summation/average/min/max values of a column of a table imported from JSON/module/CSV page. Extensible to provide more stats.	Utility
 	Easily add arithmetic operations to wiki pages. 	Utility
 	Performs some checks on parameters. 	Utility
 	Retrieves CSV data from a page and generates an HTML table. 	Utility
 	Automatically creates documentation of a lua module by extracting its documentation markup. 	Documentation
 	Converts different units (e.g. km to miles) 	Converter
 	Retrieves ISO 3166-1 data related to a country. 	Informational
 	Retrieves ISO 4217 data related to a currency. 	Informational
 	Allows wikitext to read values from data modules, e.g. mw.loadData(). 	Utility
 	Wrapper for Module:Date. 	Utility
 	Shows a demonstration of wikitext. 	Utility
 	Invokes global modules (hosted in dev.wikia.com) from any other wiki. 	Utility
 	Extends the functionality of the welcome tool. 	Utility
 	Checks if a module exists (inexpensive). 	Utility
 	This module provides a library for formatting file wiki links. 	Utility
 	Displays a random live article from a list or Lua table (e.g. Module:Top/data). 	Utility
 	Formats numbers based on some supported locales 	Formatting
 	Creates a gallery preview of a gallery page. (e.g. Previewing "Article/Gallery" on "Article") 	Utility
 	Creates links and changes wikitext when it detects external links. 	Utility
 	Outputs various kinds of lists. 	Utility
 	An easy and portable way to create colored math expressions. 	Utility
 	Creates a lua based navbox. 	Navbox
 	Powerful module to create navboxes. 	Navbox
 	Shows some stats about a page, e.g. word, template, table count. 	Utility
 	Gets information about a page, e.g. if it has a category or template 	Utility
 	Automatically adds a space before each line. Like the pre tag, but allows markup (e.g. bold or italics), transclusions, etc. 	Utility
 	Provides a quotation. 	Utility
 	Creates a random slider with all the images or files used as parameters. 	Utility
 	A utility module with for manipulating strings/texts. 	Utility
 	Displays a notice or message for XX days. 	Utility
 	Creates a transcript or dialog. 	Quote
 	Create a simple template allowing for pages with years in the titles to more simply link to each other. 	Utility
== Meta-modules ==
These modules can only be loaded with require() or mw.loadData(). See how to load Global modules first.
Name	Description 	Category
 	Provides easy processing of arguments passed to Scribunto from {{#invoke:}}. 	Utility
 	Like libraryUtil.checkType, but accepts multiple types. 	
 	A date library that allows date parsing, and arithmetic. 	Parser
 	Helps debug Lua modules using console by creating a pseudo frame and other useful functions. 	Debug
 	Human-readable representation of Lua tables. 	Debug
 	Performs conversion between Lua and JSON. 	Convertor
 	Reduces chances of errors by preventing nil global variables from being written to or read. 	Debug
 	Like mw.ustring.gsub(), but ^ and $ match the beginning and end of each line, respectively. Compare the "multiline" modifier for regular expressions.	Parser
 	Ensures that a module can only be loaded on dev.wikia.com. 	
 	A utility module with for creating side boxes. 	presentation
 	Unit tests for Scribunto. 	Debug
 	A meta-module that allows creation of html tables. 	Utility
 	Includes a number of functions for dealing with Lua tables. 	Utility
 	Runs multiple unit tests using data from a table. 	Debug
 	A less intimidating version of the built-in error() function. 	Debug
 	General purpose module containing various helpful functions. 	Utility
 	A unit-test framework. 	Debug
 	A library that parses an XML file and converts it to a lua table 	Parser
 	Function allowing for consistent treatment of boolean-like wikitext input. 	
== See also ==
* Lua templating
* Lua templating/Debug console
* Lua templating/Tips and tricks
* Lua reference manual