Template:Ml-multi/doc: Difference between revisions
Template page
More actions
No edit summary |
Fix language-code links to use Wikipedia interwiki prefixes |
||
| (One intermediate revision by one other user not shown) | |||
| Line 12: | Line 12: | ||
</pre> | </pre> | ||
* <code><nowiki>{{mdl|module= | * <code><nowiki>{{mdl|module=DateI18n}}</nowiki></code> → {{mdl|module=DateI18n}} | ||
== Possible improvements == | == Possible improvements == | ||
| Line 20: | Line 20: | ||
==Technically== | ==Technically== | ||
Inspired by [[ | Inspired by [[w:template:user-multi]], through not fully implemented (link options are hardcoded so far) | ||
<includeonly> | <includeonly> | ||
Latest revision as of 18:44, 12 August 2026
Usage
This is a metatemplate to produce a linklist for modules. Currently it is only used by {{Mdl}}.
{{ml-multi
| module= [module page name, e.g., String]
| sandbox= [sandbox page in Module namespace]
}}
{{mdl|module=DateI18n}}→ Module:DateI18n (talk · edit · hist · links · doc · subpages · tests / results · sandbox · all modules)
Possible improvements
- The module's sandbox page is to be entered by parameter. It may be determined automatically.
- Allow modules in other projects than
en:to be linked to, e.g., test2:Module:Coordinates ([1]). - Internally: truly free multi-template (no hardcoded links)
Technically
Inspired by w:template:user-multi, through not fully implemented (link options are hardcoded so far)