Fyrimynd:Ml-multi

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

[[Module:]] ([[:Module talk:|kjak]] · [[[:Fyrimynd:Fullurl:Module:]] rætta] · [[[:Fyrimynd:Fullurl:Module:]] søga] · leinkjur · doc · undirsíður · tests (úrslit· [[Module:|sandbox]] ([[[:Fyrimynd:Fullurl:Module:]] edit] · undirsíður))

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

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]
}}

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
    en:
    
    to be linked to, e.g., test2:Module:Coordinates ([1]).
  • Internally: truly free multi-template (no hardcoded links).

See also[rætta wikitekst]