Template:Ml-multi: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
|4={{user:DePiep/ml/{{{4|edit}}}|module={{{module|}}}|project={{{project|}}}}} | |4={{user:DePiep/ml/{{{4|edit}}}|module={{{module|}}}|project={{{project|}}}}} | ||
|5={{user:DePiep/ml/{{{5|tests}}}|module={{{module|}}}|project={{{project|}}}}} | |5={{user:DePiep/ml/{{{5|tests}}}|module={{{module|}}}|project={{{project|}}}}} | ||
|6= | |6= | ||
|7={{user:DePiep/ml/{{{7| | |7={{user:DePiep/ml/{{{7|user}}}|module={{{module|}}}|project={{{project|}}}|user={{{user|{{{user1|}}}}}}|prefix=sandboxes: }} | ||
|8={{user:DePiep/ml/{{{8| | |8={{user:DePiep/ml/{{{8|user}}}|module={{{module|}}}|project={{{project|}}}|user={{{user2|}}}}} | ||
}}{{#if:{{{sup|}}} | }}{{#if:{{{sup|}}} | ||
|</sup> | |</sup> | ||
Revision as of 12:38, 6 March 2013
[[::Module:]] (User:DePiep/ml/talk · User:DePiep/ml/subpg · User:DePiep/ml/hist · User:DePiep/ml/edit · User:DePiep/ml/tests · User:DePiep/ml/user · User:DePiep/ml/user)
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]] (User:DePiep/ml/talk · User:DePiep/ml/subpg · User:DePiep/ml/hist · User:DePiep/ml/edit · User:DePiep/ml/tests · User:DePiep/ml/user · User:DePiep/ml/user)
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)