Sjabloon:Ml-multi/doc

Uit informatiestandaarden
< Sjabloon:Ml-multi
Versie door Ahenket (overleg | bijdragen) op 19 jul 2013 om 10:49 (Nieuwe pagina aangemaakt met '{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == This is a metatemplate to produce a linklist for modules. C...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

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 {{safesubst:#invoke:Toolbar|main}}

Possible improvements

  • 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)

Technically

Inspired by {{user-multi}}, throug not fully implementd (link options are hardcoded so far)

See also