Difference between revisions of "Template:M links"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 14: | Line 14: | ||
----- sandboxlinks=yes ----- | ----- sandboxlinks=yes ----- | ||
| − | -->|yes='''{{{1|Example}}}'''[[:Module:{{{1|Example}}}/sandbox|/sandbox]] <!-- | + | -->|yes='''M:{{{1|Example}}}'''[[:Module:{{{1|Example}}}/sandbox|/sandbox]] <!-- |
--><span style="font-size:85%; {{{liststyle|}}}">(<span style="background:#dbffdb;"><!-- | --><span style="font-size:85%; {{{liststyle|}}}">(<span style="background:#dbffdb;"><!-- | ||
-->[{{fullurl:Module:{{ucfirst:{{{1|Example}}}}}/sandbox|action=edit}} edit]<!-- | -->[{{fullurl:Module:{{ucfirst:{{{1|Example}}}}}/sandbox|action=edit}} edit]<!-- | ||
Revision as of 17:06, 6 April 2014
Example (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test)
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
{{m links|Track gauge}}→
Track gauge (edit · talk · history · links · /subpages · /doc · /doc edit · /sbox · /sbox diff · /test)
{{m links|Track gauge|sandboxlinks=yes}}→
M:Track gauge/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit)
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=}}→
- Adding sandbox links
When working with the ../sandbox of templates, the sandbox links can be made explicit:
{{m links|Track gauge|sandboxlinks=yes}}→
- This can also help to prevent changing the live version code by accident.
See also
{{t links}}
| The above documentation is transcluded from Template:M links/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |