![]() | This is the template sandbox page for Template:Minor planet list link (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 4,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Related pages |
---|
This template accepts one, mandatory, positive integer argument, and an optional second argument for altering the wikilink text, and uses them to produce the appropriate link to the List of minor planets, complete with an anchor.
For example,
{{Minor planet list link|999}}
produces List of minor planets: 1–1000#999{{Minor planet list link|1000}}
produces List of minor planets: 1–1000#000{{Minor planet list link|1001}}
produces List of minor planets: 1001–2000#001{{Minor planet list link|473120}}
produces List of minor planets: 473001–474000#120{{Minor planet list link|473120|some text}}
produces some textThe redirect {{LoMP}} can be used as a shorter substitute.
External link templates for minor planets
Local link templates for minor planets and on related topics
Link templates on Solar System features
Partial list templates (minor planets/meanings/named-MPs)