This template uses Lua: |
Usage
For a given minor-planet number, this template produces an anchored link to the corresponding entry in the Meanings of minor planet names (MoMP). In most cases, a second parameter for the label of the link is useful.
- Examples
{{Minor planet meaning link|22|22 Kalliope}}
produces 22 Kalliope{{Minor planet meaning link|134340|(134340) Pluto}}
produces (134340) Pluto{{Minor planet meaning link|484613|meaning of Cerebrito}}
produces meaning of Cerebrito
Note: the linked entry is always the top row displayed on the screen, unless the page is already fully scrolled down.
- Special cases
If no label (second parameter) is used, the anchored link is displayed instead:
{{Minor planet meaning link|666}}
produces Meanings of minor planet names: 1–1000#666
The given minor-planet number must be a positive integer:
{{Minor planet meaning link|Sometext}}
produces an Error (Lua error in Module:Minor planet meaning link at line 14: attempt to perform arithmetic on ...)
Target page or target entry (anchor) do not exist:
{{Minor planet meaning link|999000}}
produces Meanings of minor planet names: 998001–999000#000 (redlink){{Minor planet meaning link|500123}}
produces Meanings of minor planet names: 500001–501000#123 (top of page)
See also
External link templates for minor planets
- {{AstDys}}
- {{DoMP}}
- {{ESA-SSA}}
- {{JA-BIN}}
- {{JPL}}
- {{JPL small body}}
- {{JPL+CAD}} (two links: JPL main page & "close approach data" section)
- {{LCDB}}
- {{MPC}}
- {{NeoDys}}
- {{M+J}} (combines MPC & JPL templates)
- {{WGSBNB}} (bulletin of IAU's WGSBN)
Local link templates for minor planets and on related topics
- {{Minor planet list link}}
- {{Minor planet meaning link}}
- {{Obscode}} (observatory code)
- {{LoMP+M+J}} (combines LoMP, MPC, and JPL templates)
- {{Minor planets navigator}} (footer navbox in articles)
Link templates on Solar System features
Partial list templates (minor planets/meanings/named-MPs)
- Header
- {{List of minor planets/intro}} (/core) (LoMP lead)
- {{MinorPlanetNameMeaningsDisclaimer}} (MoMP lead)
- {{TOC001}} (LoMP & MoMP page navigation)
- {{TOC LONMP}} (LoNMP alphabetical navigation)
- {{TOC LONMP2}} (LoNMP numerical navigation)
- {{List of named minor planets by number header}} (LoNMP lead)
- {{List of named minor planets by letter header}} (LoNMP lead)
- Body
- {{List of minor planets/header2}} (LoMP wikitable)
- {{MinorPlanetNameMeaningsTableHeader}} (MoMP wikitable)
- {{MoMP description available}} (MoMP aid)
- {{List of unnumbered minor planets header}} (LoUMP wikitable)
- Footer
- {{List of minor planets/See also}} (LoMP)
- {{MinorPlanetNameMeanings/See also}} (MoMP)
- {{List of minor planets/footer}} (LoMP prev–next)
- {{MinorPlanetNameMeaningsFooter}} (/core) (MoMP prev–next)
- {{List of minor planets}} (LoMP collapsed navbox)
- {{Meanings of minor-planet names}} (MoMP collapsed navbox)