Template:Lua/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}} | ||
=== Usage === | === Usage === | ||
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 | ||
Line 8: | Line 9: | ||
| <code>{{((}}modlink{{pipe}}Infobox ET{{pipe}}Utils{{))}}</code> || {{{{ROOTPAGENAME}}|Infobox ET|Utils}} | | <code>{{((}}modlink{{pipe}}Infobox ET{{pipe}}Utils{{))}}</code> || {{{{ROOTPAGENAME}}|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 === | === See also === | ||
* {{{{ROOTPAGENAME}}|Variable arguments}} | * {{{{ROOTPAGENAME}}|Variable arguments}} |
Revision as of 18:13, 24 September 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: |