Fyrimynd:Ml-multi
Appearance
[[Module:]] ([[:Module talk:|kjak]] · [[[:Fyrimynd:Fullurl:Module:]] søga] · leinkjur · doc · undirsíður · tests (úrslit) · [[Module:|sandbox]] ( · undirsíður)) ·
Usage
[rætta wikitekst]A metatemplate producing 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 (kjak · · søga · leinkjur · doc · undirsíður · tests (úrslit) · sandbox ( · undirsíður))
Possible improvements
[rætta wikitekst]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
to be linked to, e.g., test2:Module:Coordinates ([1]).en:
- Internally: truly free multi-template (no hardcoded links).
See also
[rætta wikitekst]- {{Ml}}
- {{Tlg}}
- {{Ln}}
- {{User-multi}}
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Ml-multi/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |