Difference between revisions of "Template:Infobox lunar crater or mare/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hadron137
(→‎Usage: lat & long caused error. coordinates is correct parameter)
imported>Zyxw
m (note Lua modules used, add template category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata}}
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:Celestial object quadrangle|Module:Coordinates|Module:Check for unknown parameters}}
 
{{Uses Wikidata|P138}}
 
{{Uses Wikidata|P138}}
  
Line 43: Line 43:
 
; colong    : Colongitude; format: ###
 
; colong    : Colongitude; format: ###
 
; eponym    : What it's named after
 
; eponym    : What it's named after
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox lunar crater or mare with unknown parameters}}
  
 
==See also==
 
==See also==
Line 49: Line 52:
 
* {{Tl|Infobox terrestrial impact site}}
 
* {{Tl|Infobox terrestrial impact site}}
 
* {{Tl|Infobox Mars crater}}
 
* {{Tl|Infobox Mars crater}}
== Tracking category ==
+
 
* {{clc|Pages using infobox lunar crater or mare with unknown parameters}}
 
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
Line 56: Line 58:
 
[[Category:Astronomy infobox templates|Lunar Crater]]
 
[[Category:Astronomy infobox templates|Lunar Crater]]
 
[[Category:Infobox templates using Wikidata]]
 
[[Category:Infobox templates using Wikidata]]
 +
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:55, 10 February 2019

Template:Uses Wikidata

Usage

This template is used on lunar crater and mare pages to display key facts. It can be used as follows:

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}]]
{{{caption}}}
Diameter{{{diameter}}}
Depth{{{depth}}}
Colongitude{{{colong}}}° at sunrise
EponymScript error: No such module "Wikidata".
{{Infobox lunar crater or mare
| name       = 
| image      = 
| image_size = 
| caption    = 
| coordinates=
| diameter   = 
| depth      = 
| colong     = 
| eponym     = 
}}

Parameters

name
Name of the crater or mare
image
Optional image of it. Don't use full wikicode, only the image file's name.
image_size 
Optional size for image. Don't exceed 200px width.
caption
Optional caption for image
coordinates
use {{coords|xxxx|N|xxxx|W|globe:moon}}
diameter
Format: ## km
depth
Format: #.# km, optional if unknown; only applicable to craters
colong
Colongitude; format: ###
eponym
What it's named after

Tracking category

See also