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 12: Line 12:
  |7={{user:DePiep/ml/{{{7|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix=Sandbox/{{{user|{{{user1|}}}}}}|label={{{user|{{{user1|user-1}}}}}}}}
  |7={{user:DePiep/ml/{{{7|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix=Sandbox/{{{user|{{{user1|}}}}}}|label={{{user|{{{user1|user-1}}}}}}}}
  |8={{user:DePiep/ml/{{{8|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix=Sandbox/{{{user2|}}}|label={{{user2|user-2}}}}}
  |8={{user:DePiep/ml/{{{8|subpg}}}|module={{{module|}}}|project={{{project|}}}|specialprefix=Sandbox/{{{user2|}}}|label={{{user2|user-2}}}}}
}}{{#if:{{{sup|}}}
|9={{#if:{{{sbx|}}}|{{user:DePiep/ml/sandbox|module={{{module|}}}|project={{{project|}}}|sandbox={{{sbx|}}}}}
}}
<!-- doc-->
{{#if:{{{sup|}}}
  |</sup>
  |</sup>
}}</span><noinclude>
}}</span><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 13:45, 6 March 2013

[[Module:]] {{toolbar

|style=font-size: 90%
|separator=dot
|1=User:DePiep/ml/talk
|2=User:DePiep/ml/edit
|3=User:DePiep/ml/hist
|4=User:DePiep/ml/subpg
|5=User:DePiep/ml/tests
|6=sandboxes:
|7=User:DePiep/ml/subpg
|8=User:DePiep/ml/subpg
|9=

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]
}}
|style=font-size: 90%
|separator=dot
|1=User:DePiep/ml/talk
|2=User:DePiep/ml/edit
|3=User:DePiep/ml/hist
|4=User:DePiep/ml/subpg
|5=User:DePiep/ml/tests
|6=sandboxes:
|7=User:DePiep/ml/subpg
|8=User:DePiep/ml/subpg
|9=

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.