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/doc: Difference between revisions

Template page
Created page with '{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == This is a metatemplate to produce a linklist for module...'
 
No edit summary
Line 12: Line 12:
</pre>
</pre>


* <code><nowiki>{{mdl|module=String|sandbox=String/sandbox}}</nowiki></code> &rarr; {{mdl|module=String|sandbox=String/sandbox}}
* <code><nowiki>{{mdl|module=Date}}</nowiki></code> &rarr; {{mdl|module=Date}}


== Possible improvements ==
== Possible improvements ==

Revision as of 19:29, 2 December 2013

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 en: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.