Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ml-multi: Difference between revisions

Template page
No edit summary
No edit summary
Line 7: Line 7:
  |2={{user:DePiep/ml/{{{2|edit}}}|module={{{module|}}}|project={{{project|}}}}}
  |2={{user:DePiep/ml/{{{2|edit}}}|module={{{module|}}}|project={{{project|}}}}}
  |3={{user:DePiep/ml/{{{3|hist}}}|module={{{module|}}}|project={{{project|}}}}}
  |3={{user:DePiep/ml/{{{3|hist}}}|module={{{module|}}}|project={{{project|}}}}}
  |4={{user:DePiep/ml/{{{4|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix={{{module|}}}|label=subpages}}
  |4={{user:DePiep/ml/{{{4|whatlinkshere}}}|module={{{module|}}}|project={{{project|}}}}}
  |5={{user:DePiep/ml/{{{5|tests}}}|module={{{module|}}}|project={{{project|}}}}}
|6={{user:DePiep/ml/{{{6|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix={{{module|}}}|label=subpages}}
  |6={{#if:{{{sandbox|{{{sbx|}}}}}}|{{user:DePiep/ml/sandboxlinks|module={{{module|}}}|project={{{project|}}}|sandbox={{{sandbox|{{{sbx|}}}}}}}}}}
  |7={{user:DePiep/ml/{{{7|tests}}}|module={{{module|}}}|project={{{project|}}}}}
|7={{user:DePiep/ml/{{{7|whatlinkshere}}}|module={{{module|}}}|project={{{project|}}}}}
  |8={{#if:{{{sandbox|{{{sbx|}}}}}}|{{user:DePiep/ml/sandboxlinks|module={{{module|}}}|project={{{project|}}}|sandbox={{{sandbox|{{{sbx|}}}}}}}}}}
<!-- doc-->}}
<!-- doc-->}}
{{#if:{{{sup|}}}
{{#if:{{{sup|}}}

Revision as of 14:18, 6 March 2013

>[[Module:]] (User:DePiep/ml/talk · User:DePiep/ml/edit · User:DePiep/ml/hist · User:DePiep/ml/whatlinkshere · User:DePiep/ml/subpg · User:DePiep/ml/tests)

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Ml-multi/doc.


Usage

This is a metatemplate to produce a linklist for modules. Currently it is only used by {{Mdl}}.

{{ml-multi
| module= [module page name, e.g., String]
| sandbox= [sandbox page in Module namespace]
}}

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 w:template:user-multi, through not fully implemented (link options are hardcoded so far)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.