Pojdi na vsebino


Iz Wikipedije, proste enciklopedije

[[Modul:]] ([[:Pogovor o modulu:|pogovor]] · [[[:Predloga:Fullurl:Modul:]] uredi] · [[[:Predloga:Fullurl:Modul:]] zgodovina] · povezave · dok · podstrani · testi (rezultati· [[Modul:|peskovnik]] ([[[:Predloga:Fullurl:Modul:]] uredi] · podstrani))

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Usage[uredi kodo]

A metatemplate producing a linklist for modules. Currently it is only used by {{ml}}.

| 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 ([1]).
  • Internally: truly free multi-template (no hardcoded links).

See also[uredi kodo]