Module:URL/doc
Appearance
![]() | This is a documentation subpage for Module:URL. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This Lua module is used on approximately 630,000 pages, or roughly 1% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
The module “URL” contains (specify) available calls that make so and such.
Usage
{{#invoke:URL|function_name|…}}
Parameters
The text below assumes that functions are declared as
function p.function_name( frame )
- Positional parameters – the value of frame.args[1] is passed after function name and vertical bar, the value of frame.args[2] is passed after the value of frame.args[1] and vertical bar, and so on.
- Named parameters (specify them) – the same name=value syntax as in MediaWiki templates, are accessible inside the function as frame.args["name"].
Examples
Script error: The function "main" does not exist.