FANDOM


Creates links and changes wikitext when it detects external links.


Syntax

Creating a simple link

{#invoke:links|main|page|label|type=<ext>}}

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

Examples

 {{#invoke:links|main|wikia.com|wikia|type=ext}}

wikia
 {{#invoke:links|main|Lua}}

Lua
{{#invoke:links|main|http://wikipedia.org}}

[1]
{{#invoke:links|batch|http://wikipedia.org > wiki|luamods > List of Lua Modules|delimiter=>}}

wiki List of Lua Modules