Template:Lua/doc: Difference between revisions
ArrowHead294 (talk | contribs) m ArrowHead294 moved page Template:Modlink/doc to Template:Lua/doc |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}}{{{{ | {{dochead}}{{wikipedia}}{{{{ROOTPAGENAMEE}}|Variable arguments}} | ||
On templates with modules, this template provides a link from the template or its documentation to the corresponding module. | On templates with modules, this template provides a link from the template or its documentation to the corresponding module. | ||
Line 9: | Line 9: | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{lua|Infobox ET}}</nowiki></code> || {{{{ROOTPAGENAMEE}}|Infobox ET}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{lua|Infobox ET|Utils}}</nowiki></code> || {{{{ROOTPAGENAMEE}}|Infobox ET|Utils}} | ||
|} | |} | ||
If no argument is passed, there will be a single link to the module with the same name as the template. | If no argument is passed, there will be a single link to the module with the same name as the template. |