Template:Ml-multi: Difference between revisions
Template page
More actions
m 54 revisions from w:en:Template:Ml-multi |
No edit summary |
||
| Line 5: | Line 5: | ||
|separator={{{separator|dot}}} | |separator={{{separator|dot}}} | ||
|1=[[:Module talk:{{{module|}}}|talk]] | |1=[[:Module talk:{{{module|}}}|talk]] | ||
|2={{ | |2=[{{fullurl:Module:{{{module|}}}|action=edit edit] | ||
|3={{ | |3=[{{fullurl:Module:{{{module|}}}|action=hist hist] | ||
|4=[{{fullurl:Special:WhatLinksHere/:Module:{{{module|}}}|limit=999}} links] | |4=[{{fullurl:Special:WhatLinksHere/:Module:{{{module|}}}|limit=999}} links] | ||
|5=[[Module:{{{module|{{{1|}}}}}}/doc|doc]] | |5=[[Module:{{{module|{{{1|}}}}}}/doc|doc]] | ||
Revision as of 17:50, 2 December 2013
[[Module:]] {{toolbar
|style=font-size: 90%
|separator=dot
|1=[[:Module talk:|talk]]
|2=[{{fullurl:Module:|action=edit edit]
|3=[[[:Template:Fullurl:Module:]]
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]
}}
{{mdl|module=DateI18n}}→ Module:DateI18n {{toolbar
|style=font-size: 90% |separator=dot |1=talk |2=[{{fullurl:Module:DateI18n|action=edit edit] |3=hist
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)