Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 02:42, 17 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} This template provides a list of '''links to a module'''. There are no restricted links (such as adding protection). A link to a related template can be added. == Usage == * {{code|1=<nowiki>{{m links|Track gauge}}</nowiki>}} →<br>{{m links|Track gauge}} * {{code|1=<nowiki>{{m links|Track gauge|sandboxlinks=yes}}</nowiki>}} →<br>{{m links|Track gauge|sandboxlinks=yes}} ==Options== ;Adding link to a template: When an eponymous module...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template provides a list of links to a module. There are no restricted links (such as adding protection). A link to a related template can be added.

Usage

Options

Adding link to a template

When an eponymous module exists, it is added:

  • {{m links|Track gauge}}
Track gauge (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test · Template:Track gauge)
  • Any other module (or none) can be linked:
  • {{m links|Track gauge|template=String}}
Track gauge (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test · Template:string)
  • {{m links|Track gauge|template=}}
Track gauge (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test) (blank so not linked)
Adding sandbox links

When working with the ../sandbox of templates, the sandbox links can be made explicit:

  • {{m links|Track gauge|sandboxlinks=yes}}
Track gauge/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit)
This can also help to prevent changing the live version code by accident.

See also

{{t links}}