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
 
(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span>[[:{{{project|}}}:Module:{{{module|}}}]]&nbsp;{{#if:{{{sup|}}}
<span class="plainlinks">[[Module:{{{module|Bananas}}}]]&nbsp;{{toolbar<!--
|<sup>
-->|style={{yesno|{{{small|yes}}}|yes=font-size: 90%}}<!--
}}{{toolbar
-->|separator={{{separator|dot}}}<!--
|style={{#if:{{{small|}}}|font-size: 90%}}
-->|1=[[:Module talk:{{{module|Bananas}}}|talk]]<!--
|separator={{{separator|dot}}}
-->|2=[{{fullurl:Module:{{{module|Bananas}}}|action=edit}} edit]<!--
|1={{user:DePiep/ml/{{{1|talk}}}|module={{{module|}}}|project={{{project|}}}}}
-->|3=[{{fullurl:Module:{{{module|Bananas}}}|action=hist}} hist]<!--
|2={{user:DePiep/ml/{{{2|subpg}}}|module={{{module|}}}|project={{{project|}}}}}
-->|4=[{{fullurl:Special:WhatLinksHere/:Module:{{{module|Bananas}}}|limit=999}} links]<!--
|3={{user:DePiep/ml/{{{3|hist}}}|module={{{module|}}}|project={{{project|}}}}}
-->|5=[[Module:{{{module|Bananas}}}/doc|doc]]<!--
|4={{user:DePiep/ml/{{{4|edit}}}|module={{{module|}}}|project={{{project|}}}}}
-->|6=[[Special:PrefixIndex/Module:{{{module|Bananas}}}|subpages]]<!--
|5={{user:DePiep/ml/{{{5|tests}}}|module={{{module|}}}|project={{{project|}}}}}
-->|7=[[Module:{{{module|Bananas}}}/testcases|tests]]&nbsp;/&nbsp;[[Module talk:{{{module|Bananas}}}/testcases|results]]<!--
|6=sandboxes
-->|8=[[Module:{{{module|Bananas}}}/sandbox|sandbox]]<!--
|7={{user:DePiep/ml/{{{7|{{{user|{{{user1|}}}}}}}}}|module={{{module|}}}|project={{{project|}}}|user={{{user|{{{user1|}}}}}}}}
-->|9=[[Commons:Lua/Modules|all modules]]<!--
|8={{user:DePiep/ml/{{{8|{{{user|{{{user2|}}}}}}}}}|module={{{module|}}}|project={{{project|}}}|user={{{user2|}}}}}
-->}}<!--
}}{{#if:{{{sup|}}}
--></span><br/><noinclude>
|</sup>
}}</span><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:40, 12 September 2020

Module:Bananas (talk · edit · hist · links · doc · subpages · tests / results · sandbox · all modules)

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.