Template:Lua/doc: Difference between revisions
Jump to navigation
Jump to search
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}} |
Revision as of 01:18, 22 May 2024
Usage
You type:
{{modlink|Infobox ET}}</nowiki>
You get:
![]() |
This template uses Lua: |
For templates that use multiple modules, it's best to place the modlink at the end of the list.
For example:
[[Module:Utils]] and {{modlink|Infobox ET|plural=yes}}
gives:
- Module:Utils and
![]() |
This template uses Lua: |