Template:Ml-multi: Difference between revisions
Template page
More actions
switched to testcases |
rm unused entry |
||
| Line 10: | Line 10: | ||
|5=[[Module:{{{module|{{{1|}}}}}}/doc|doc]] | |5=[[Module:{{{module|{{{1|}}}}}}/doc|doc]] | ||
|6=[[Special:PrefixIndex/Module:{{{module|}}}|subpages]] | |6=[[Special:PrefixIndex/Module:{{{module|}}}|subpages]] | ||
| 7=[[Module:{{{module|}}}/testcases|tests]] – [[Module talk:{{{module|}}}/testcases|results]] | |7=[[Module:{{{module|}}}/testcases|tests]] – [[Module talk:{{{module|}}}/testcases|results]] | ||
|8={{#if:{{{sandbox|}}}|{{ml-multi/sandboxlinks|module={{{module|{{{1|}}}}}}|project={{{project|}}}|sandbox={{{sandbox|}}}}}}} | |8={{#if:{{{sandbox|}}}|{{ml-multi/sandboxlinks|module={{{module|{{{1|}}}}}}|project={{{project|}}}|sandbox={{{sandbox|}}}}}}} | ||
}} | }} | ||
Revision as of 12:39, 21 March 2013
[[Module:]] ([[:Module talk:|talk]] · [[[:Template:Fullurl:Module:]] +/−] · Template:History · links · doc · subpages · tests – results)
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 · +/− · Template:History · links · doc · subpages · tests – results)
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)