Template:Lua/doc: Difference between revisions
ArrowHead294 (talk | contribs) Documentation |
ArrowHead294 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
You type: | You type: | ||
: <code | : <code>{{((}}modlink{{pipe}}Infobox ET{{))}}</nowiki></code> | ||
You get: | You get: | ||
: {{{{ROOTPAGENAME}}|Infobox ET}} | : {{{{ROOTPAGENAME}}|Infobox ET}} | ||
For templates that use multiple modules, it's best to place the modlink at the end of the list. | |||
For example: | |||
: <code><nowiki>[[Module:Utils]] and {{modlink|Infobox ET|plural=yes}}</nowiki></code> | |||
gives: | |||
: [[Module:Utils]] and {{{{ROOTPAGENAME}}|Infobox ET|plural=yes}} |