Template:Lua/doc: Difference between revisions
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}} |