请输入您要查询的百科知识:

 

词条 Module:FindFeatures/doc
释义

  1. Parameters

  2. Creating the database from which features are searched

  3. Usage

{{Module rating|alpha}}

Parameters

function name = identifies the planet to search (mercury, venus, moon, earthCraters, mars presently implemented)

  • unnamed parameters - set four to numbers and directions to establish a bounding box (see rectangular region example)
  • center = sets the center of a circular region
  • radius = kilometers radius around the center, using haversine formula with radius set to the area of the center.
  • hits = # of hits to return (but only within radius, if provided)
  • showdist = if provided, the distance is indicated after each coordinate set. If showdist is a number it is rounded off to this amount (e.g. use 0.1 for one decimal place)
  • nowiki = debugging parameter: if set, the output is in nowiki format
  • suppress = set to "self" to prevent the link to the page presently being displayed from being included.

Creating the database from which features are searched

Databases for this module are created by {{#invoke:FindFeatures|venus|displaydatabase=yes}} and then copied to places like FindFeatures/Venus (in module space) for later use. The data sources (articles) can be set by data=page1|page2|page3 and all records in tables, especially using the Coord template, are supposed to be mined from them. Because each article is written differently this can be problematic - the data produced should be checked, and might turn out to need further adjustment. FindFeatures/data has been used as a scratchpad for splitting up data that wouldn't compile in a single run.

Usage

See FindFeatures

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 20:31:30