Predloga:Ml-multi
Videz
[[Modul:]] ([[:Pogovor o modulu:|pogovor]] · · [[[:Predloga:Fullurl:Modul:]] zgodovina] · povezave · dok · podstrani · testi (rezultati) · [[Modul:|peskovnik]] ( · podstrani))
Usage
[uredi kodo]A metatemplate producing a linklist for modules. Currently it is only used by {{ml}}.
{{ml-multi
| module = [module page name, e.g., Niz]
| sandbox = [sandbox page in Module namespace]
}}
{{ml|module=Niz|sandbox=Niz/peskovnik}}→ {{[[Modul:{{{1}}}|#invoke:{{{1}}}]]|function}}
Possible improvements
[uredi kodo]Inspired by {{user-multi}}, though not fully implemented (link options remain hardcoded).
- The module's sandbox page is to be entered by parameter. It may be determined automatically.
- Allow modules in other projects than
sl:to be linked to, e.g., test2:Modul:Coordinates (). - Internally: truly free multi-template (no hardcoded links).
See also
[uredi kodo]- {{Ml}}
- {{Tlg}}
- {{Ln}}
- {{User-multi}}