Template:Ml-multi
From LIMSWiki
Revision as of 15:44, 31 October 2013 by Shawndouglas (talk | contribs) (Protected "Template:Ml-multi" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
[[Module:]] ([[:Module talk:|talk]] · [[[:Template:Fullurl:Module:]] hist] · links · doc · subpages · tests – results) ·
[edit] [ ] Template documentation
Usage
This is a metatemplate to produce a linklist for modules. Currently it is only used by {{ml}}.
{{ml-multi | module= [module page name, e.g., String] | sandbox= [sandbox page in Module namespace] }}
{{ml|module=String|sandbox=String/sandbox}}
→ Module:String (talk · · hist · links · doc · subpages · tests – results · sandbox – – subpages)
Possible improvements
- The module's sandbox page is to be entered by parameter. It may be determined automatically.
- Allow modules in other projects than
to be linked to, e.g., test2:Module:Coordinates ([1]).en:
- Internally: truly free multi-template (no hardcoded links)
Technically
Inspired by {{user-multi}}, throug not fully implementd (link options are hardcoded so far)
See also
- {{ml}}
- {{Tlg}}
- {{Ln}}
- {{user-multi}}
The above documentation is transcluded from Template:Ml-multi/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |