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
param1=module; rm options really not available at all
Line 1: Line 1:
<span class="plainlinks">[[Module:{{{module|}}}]]&nbsp;{{#if:{{{sup|}}}
<span class="plainlinks">[[Module:{{{module|{{{1|}}}}}}]]&nbsp;{{#if:{{{sup|}}}
  |<sup>
  |<sup>
}}{{toolbar
}}{{toolbar
  |style={{yesno|{{{small|yes}}}|yes=font-size: 90%}}
  |style={{yesno|{{{small|yes}}}|yes=font-size: 90%}}
  |separator={{{separator|dot}}}
  |separator={{{separator|dot}}}
  |1={{ml-multi/{{{1|talk}}}|module={{{module|}}}|project={{{project|}}}}}
  |1={{ml-multi/talk|module={{{module|{{{1|}}}}}}|project={{{project|}}}}}
  |2={{ml-multi/{{{2|edit}}}|module={{{module|}}}|project={{{project|}}}}}
  |2={{ml-multi/edit|module={{{module|{{{1|}}}}}}|project={{{project|}}}}}
  |3={{ml-multi/{{{3|hist}}}|module={{{module|}}}|project={{{project|}}}}}
  |3={{ml-multi/hist|module={{{module|{{{1|}}}}}}|project={{{project|}}}}}
  |4={{ml-multi/{{{4|whatlinkshere}}}|module={{{module|}}}|project={{{project|}}}}}
  |4={{ml-multi/whatlinkshere|module={{{module|{{{1|}}}}}}|project={{{project|}}}}}
  |6={{ml-multi/{{{6|subpages}}}|module={{{module|}}}|project={{{project|}}}|specialprefix={{{module|}}}}}
  |6={{ml-multi/subpages|module={{{module|{{{1|}}}}}}|project={{{project|}}}|specialprefix={{{module|{{{1|}}}}}}}}
  |7={{ml-multi/{{{7|tests}}}|module={{{module|}}}|project={{{project|}}}}}
  |7={{ml-multi/tests|module={{{module|{{{1|}}}}}}|project={{{project|}}}}}
  |8={{#if:{{{sandbox|}}}|{{ml-multi/sandboxlinks|module={{{module|}}}|project={{{project|}}}|sandbox={{{sandbox|}}}}}}}
  |8={{#if:{{{sandbox|}}}|{{ml-multi/sandboxlinks|module={{{module|{{{1|}}}}}}|project={{{project|}}}|sandbox={{{sandbox|}}}}}}}
}}
}}
{{#if:{{{sup|}}}
{{#if:{{{sup|}}}

Revision as of 20:06, 8 March 2013

[[Module:]] (Template:Ml-multi/talk · Template:Ml-multi/edit · Template:Ml-multi/hist · Template:Ml-multi/whatlinkshere · Template:Ml-multi/subpages · Template:Ml-multi/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.