Template:Ml-multi: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (45 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<span>[[ | <span class="plainlinks">[[Module:{{{module|Bananas}}}]] {{toolbar<!-- | ||
-->|style={{yesno|{{{small|yes}}}|yes=font-size: 90%}}<!-- | |||
-->|separator={{{separator|dot}}}<!-- | |||
-->|1=[[:Module talk:{{{module|Bananas}}}|talk]]<!-- | |||
-->|2=[{{fullurl:Module:{{{module|Bananas}}}|action=edit}} edit]<!-- | |||
-->|3=[{{fullurl:Module:{{{module|Bananas}}}|action=hist}} hist]<!-- | |||
-->|4=[{{fullurl:Special:WhatLinksHere/:Module:{{{module|Bananas}}}|limit=999}} links]<!-- | |||
-->|5=[[Module:{{{module|Bananas}}}/doc|doc]]<!-- | |||
-->|6=[[Special:PrefixIndex/Module:{{{module|Bananas}}}|subpages]]<!-- | |||
-->|7=[[Module:{{{module|Bananas}}}/testcases|tests]] / [[Module talk:{{{module|Bananas}}}/testcases|results]]<!-- | |||
-->|8=[[Module:{{{module|Bananas}}}/sandbox|sandbox]]<!-- | |||
-->|9=[[Commons:Lua/Modules|all modules]]<!-- | |||
-->}}<!-- | |||
}} | --></span><br/><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:40, 12 September 2020
Module:Bananas (talk · edit · hist · links · doc · subpages · tests / results · sandbox · all modules)
This documentation is transcluded from Template:Ml-multi/doc.
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)