Template:Lua/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m De-escape per Ganaram inukshuk‎
ArrowHead294 (talk | contribs)
mNo edit summary
Line 3: Line 3:
Pass in the name of all modules used for a given template, separated by pipe characters:
Pass in the name of all modules used for a given template, separated by pipe characters:
{| class="wikitable"
{| class="wikitable"
! You Type !! You Get
|-
! You type !! You get
|-
|-
| <code><nowiki>{{modlink|Infobox ET}}</nowiki></code> || {{{{ROOTPAGENAME}}|Infobox ET}}
| <code><nowiki>{{modlink|Infobox ET}}</nowiki></code> || {{{{ROOTPAGENAME}}|Infobox ET}}

Revision as of 14:41, 18 November 2024

Usage

Pass in the name of all modules used for a given template, separated by pipe characters:

You type You get
{{modlink|Infobox ET}}
{{modlink|Infobox ET|Utils}}

If no argument is passed, there will be a single link to the module with the same name as the template.

See also

This template uses Lua: