模板:Infobox crater
外觀
![]() | 此模板使用Lua語言: |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
本模板使用維基數據資源:
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.2|{{{alt}}}]] {{{caption}}} | |
{{{globe_type}}} | {{{globe}}} |
---|---|
區域 | {{{region}}} |
{{{coordinate_title}}} | {{{coordinates}}}{{{coordinates_footnotes}}} |
方格 | {{{quadrangle}}} |
直徑 | {{{diameter}}} |
環形山深度 | {{{depth}}} |
發現者 | {{{discoverer}}} |
命名 | {{{eponym}}} |
參數
[編輯]{{Infobox crater |title = {{subst:PAGENAME}} |titlecolor = |image = |caption = |coordinates = <!-- {{coord|LAT|N/S|LON|E/W|globe:GLOBE_type:landmark|display=inline,title}} --> |coordinates_footnotes = <!-- use <ref> tags --> |globe = |globe_type = |quadrangle = |diameter = |depth = |discoverer = |eponym = }}
標題顔色
[編輯]- Mars - #FA8072
- Mercury - #D8BBA6
- Venus - #EDD58B
使用方法
[編輯]This template is intended to be used to create other templates for standardized crater data infoboxes for various solar system bodies.
For impact craters and structures on Earth, use {{Infobox terrestrial impact site}}. For impact craters on the Moon, use {{Infobox lunar crater or mare}} or its aliases {{Infobox Lunar crater}} and {{Infobox Lunar mare}}.
Its parameters are:
- titlecolor - background color for the title bar
- title - defaults to "Crater characteristics"
- image - an optional image
- caption - an optional caption for the image
- region - an optional freeform row where one may indicate a region the crater is in (e.g., Mare Imbrium, Shakespeare quadrangle)
- coordinate_title - the header for the geographic coordinates entry, defaults to [[地理座標|座標]]. The next four parameters are used to define the geographic location:
- coordinates - use {{coord}} with "display=inline,title"
- coordinates_footnotes - text to appear after the coordinates, wrapped in a <ref></ref> tag
- globe - the planet, dwarf planet, or natural satellite which the crater is located on. Also informs the "coord" template which page of external map links to use. Should be capitalized and not wikilinked (for example,
火星
而不是[[火星]]
). - globe_type - optional, type of body the crater is located on. May be wikilinked. Defaults to
[[行星]]
. - diameter - diameter of the crater, generally in kilometers
- depth - optional, depth of crater
- discoverer - optional, name of the person or probe that discovered the crater
- eponym - optional, for whom or what the crater has been named
Here's an example usage of the template with various pass-through parameters defined:
{{Infobox crater |title={{subst:PAGENAME}} |titlecolor = |image = {{{image|}}} |caption= {{{caption|}}} |coordinates = {{{coordinates|}}} |coordinates_footnotes = {{{coordinates_footnotes|}}} |globe = Mars |globe_type = [[Planet]] |diameter = {{{diameter|}}} |depth = {{{depth|}}} |discoverer={{{discoverer|}}} |eponym ={{{eponym|}}} }}
追蹤分類
[編輯]參見
[編輯]- {{Infobox terrestrial impact site}}
- {{Infobox lunar crater or mare}}
- {{Mercury crater data}}——英語維基版本已被刪除,以本模板取代
- {{Infobox feature on Venus}}——英語維基版本已被刪除,以本模板或{{Infobox feature on celestial object}}取代
- {{MarsGeo-Crater}}——英語維基版本已被刪除,以本模板取代
上述文件嵌入自Template:Infobox crater/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (編輯 | 差異)和測試樣例 (編輯)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |