Template:Lua: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Tag: Manual revert
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Module:{{trim|{{{1|{{ROOTPAGENAME}}}}}}}]] &ndash; The {{#ifeq: {{trim|{{{plural|}}}}}|yes|modules that implement|module that implements}} the functionality.</includeonly><noinclude>
<includeonly>{{#invoke: Variable arguments | lua_banner
On templates with modules, this template provides a link from the template or its documentation to the corresponding module.
| debug_mode = {{lc:{{{debug|}}}}}
 
}}</includeonly>{{#ifeq: {{NAMESPACE}}|Template|{{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}}|doc||[[Category:Lua-based templates]]}}|}}<noinclude>
{{doc}}
{{documentation}}
 
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 12:20, 25 May 2025

Template documentation[view] [edit] [history] [purge]
English Wikipedia has an article on:

On templates with modules, this template provides a link from the template or its documentation to the corresponding module.

Usage

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

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

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