Global Lua Modules/Links

Creates links and changes wikitext when it detects external links.



Creating a simple link
{#invoke:links|main|page|label|type= }}

Creating a batch of links
{#invoke:links|batch|page/url label type
 * page1 label1 type1
 * page2 label2 type2
 * separator = separatortext
 * delimiter = delimitertext}}

Parameter description

 * Page (mandatory) = url, e.g. http://google.com or Lua.
 * label (optional)= label for the link
 * type (optional)= "ext" for external links