ಟೆಂಪ್ಲೇಟು:Infobox cave/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

This template can be used to create an infobox for articles about caves. See the section about caves of the British Isles.

Usage[ಬದಲಾಯಿಸಿ]

Minnetonka Cave
Minnetonka Cave, administered by the U.S. Forest Service
Lua error in ಮಾಡ್ಯೂಲ್:Location_map at line 525: Unable to find the specified location map definition: "Module:Location map/data/USA relief" does not exist.
ಸ್ಥಳBear Lake County, Idaho, United States
ಕಕ್ಷೆಗಳು42°05′14″N 111°31′07″W / 42.08722°N 111.51861°W / 42.08722; -111.51861
ಅನ್ವೇಶಣೆ1907
ಭೂವಿಜ್ಞಾನKarst cavern, Mississippian Limestone
ಪ್ರವೇಶಗಳು1
ಪ್ರವೇಶTours are available in season

This is a table of the most used parameter names.

{{Infobox cave
| name = 
| other_name = 
| photo = 
| photo_width = 
| photo_caption = 
| map = 
| map_width = 
| map_caption = 
| map_alt = 
| location = 
| coords = 
| lat_d = | lat_m = |lat_s = | lat_NS = 
| long_d = | long_m = | long_s = | long_EW = 
| coords_ref = 
| land_registry_number =
| grid_ref_UK = 
| grid_ref_Ireland = 
| grid_ref = 
| depth = 
| length = 
| height_variation =
| altitude = 
| discovery = 
| geology = 
| entrance_count = 
| entrance_list = 
| difficulty = 
| hazards = 
| access = 
| show_cave = 
| show_cave_length = 
| lighting = 
| visitors = 
| features = 
| survey = 
| survey_format = 
| website = 
}}

Parameter descriptions[ಬದಲಾಯಿಸಿ]

This table describes all parameters which can be used in building infoboxes. Only the name parameter must be assigned a value.

Parameter Description
name Required. The name of the cave. It will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation. For example if the article title is Blue Grotto (Capri) then use name=Blue Grotto.
other_name If there is a common English name for the cave use it for the name parameter. This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. If you would like to italicize the text use wiki markup.
photo The name of an image file to be displayed. No special formatting is needed.
photo_width Determines the width of the image. The default and maximum value is 256px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) will need to be adjusted. For example photo_width=200 and not photo_width=200px.
photo_alt Alt text for the photo, for visually impaired readers. See WP:ALT.
photo_caption The caption that will appear below the image if one is required.
map The name of the map to be displayed. See Map display methods.
map_width Determines the width of the map. The default width is 220px and maximum width is 256px. For example map_width=180 and not map_width=180px.
map_alt Alt text for the map. See WP:ALT.
map_caption The caption that will appear below the map if one is required.
relief Selects a relief map when assigned any value. This is functional when a location map template is used. See Map display methods.
mark A marker which shows the location of the cave on a map. The default image is Red pog.svg. For more information, go here.
marker_size The width of the location marker image in pixels. Seldom used. The default width is 8px.
label_position This seldom used parameter will generate a text label next to the a location marker. Valid values are left, right, top and bottom. If no value is assigned to the label parameter below, the name will be used.
label Text that will be displayed next to the location marker. See label_position above.
location The location of the cave. Don't be too precise. County, state and country are good in the USA. If the area is within a city specify the city, state and country. If the area is in multiple counties just list the state and country. For areas in other countries adjust accordingly. The text should be meaningful to a reader who lacks knowledge of local geography.
coords For the {{Coord}} template. This syntax will not automatically generate a location marker on a map. When this option is used the type, region, scale, source, format and display parameters are not functional but this data can be entered in the {{Coord}} template. The defaults should be type:landmark and display:inline,title.
lat_d The degrees of latitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified.
lat_m The minutes of latitude.
lat_s The seconds of latitude.
lat_NS N if north of the equator, S if south of the equator. Other values will be disregarded.
long_d The degrees of longitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified.
long_m The minutes of longitude.
long_s The seconds of longitude.
long_EW E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded.
coords_ref Used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
land_registry_number Reference number of the cave in the relevant land registry.
type Type is one way to specify the scale of maps generated by external map websites. See WP:COORD TYPE for valid values. The default value is landmark which is most appropriate for caves. This parameter and the three below help GeoHack in selecting suitable map resources.
scale Determines the zoom factor for external map websites. See WP:COORD SCALE. Using scale=50000 will change the zoom factor to 1:50,000.
region A country code. See ISO 3166-2:US, ISO 3166-2 and ISO 3166-1 alpha-2. For example US-OR is the code for Oregon. This computer readable code is recommended. It will not be displayed. See WP:COORD REGION.
source Source of the coordinate data. See WP:COORD SOURCE. It will not be displayed.
format Determines the format used to the display coordinates. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default is dms.
display Determines where the coordinates will be displayed. Valid values are inline and inline,title. The default is inline,title and is recommended.
x
y
Specifies the position of the location marker on a map image. The coordinates of the marker in pixels based on a map with a width of 1000 pixels. The template will scale these values for proper display. See below.
x%
y%
Specifies the position of the location marker on a map image. x% specifies the percentage of the distance across the image from the left edge and y% specifies the percentage of the distance down from the top edge. See below.
depth The distance from the surface to the deepest portion of the cave.
length The surveyed length of the cave.
height_variation The variation in height of the [show] cave passageway, e.g. 5m (+2m, -3m)
altitude The elevation of the cave entrance above sea level.
discovery The date the cave was discovered and who discovered it.
geology Is the cave in limestone, marble, dolomite, shale, conglomerate, basalt or something else. Is it a sea cave, lava tube, or karst cave. See the Cave article.
entrance_count The number of entrances.
entrance_list A list of entrances.
difficulty The skill level required to explore the cave safely. Don't use a number unless you supply a link to site that explains what the number means.
hazards Are there hazards such as sumps, flooding, strong underwater currents, rock falls, or histoplasmosis.
access Is access private, public, restricted, by permit only, etc? When are tours available.
show_cave See the show cave article. Give the year it was opened.
show_cave_length The length of the show cave tour.
lighting What kind of lighting is used in the show cave.
visitors The number of visitors in a recent year if known.
features Features of special interest found in the cave, which might include speleogens such as boxwork, anthodites, lavacicles, or helictites.
survey If a cave survey has been done, then when was it and who did it.
survey_format The cave survey software package used. For example: Survex.
register The name of a cave registry. Preferably with a footnote citing the register webpage.

Map display methods[ಬದಲಾಯಿಸಿ]

Any image of a map showing the location of the protected area can be used. There are three methods by which maps showing a marker can be generated.


Display a marker on a map using a template and geographic coordinates[ಬದಲಾಯಿಸಿ]

A marker can be superimposed on a map using one of a set of special map templates. To display a marker the geographic coordinates must be specified using the parameters lat_d, long_d, etc. See the documentation for {{Location map}}. The parameters for this template map to a subset of the parameters used by {{Location map}}. A map template can be found using these sources:

List of templates - Many of the listed items are redirects and a few templates may not function as expected.
ವರ್ಗ:Location map templates - templates sorted by category.
Special:WhatLinksHere/Template:Location map/Info - a search that might help.
Special:Prefixindex/Template:Location map - another search that might help.

All of the names begin with the words "Location map" followed by the area covered. The value you need to specify is the area name. The map template for the Canada is Location map Canada. In this case specify map=Canada.

Four Corners, Canada
Map showing the location of Four Corners, Canada
Map showing the location of Four Corners, Canada
Example using geographic coordinates
ಕಕ್ಷೆಗಳು60°00′00″N 102°00′00″W / 60.00000°N 102.00000°W / 60.00000; -102.00000
{{Infobox cave
| name = Four Corners, Canada
| map = Canada
| map_caption = Example using geographic coordinates
| lat_d = 60 | lat_m = 00 | lat_s = 00 | lat_NS = N
| long_d = 102 | long_m = 00 | long_s = 00 | long_EW = W
}}

Display a marker on any map image using the x and y parameters[ಬದಲಾಯಿಸಿ]

The values for the x and y parameters are the pixel coordinates of the location mark when the image is scaled to a width of 1000 pixels.

x is the pixel offset for the mark from the left edge of an image 1000px wide.
y is the pixel offset for the mark from the top edge of an image 1000px wide.

There are at least two ways of obtaining these values:

  1. Download the image from the image's file page to your computer. Open the image in a graphics editor, such as GIMP or XnView. Scale (resize) the image to a width of 1000px and then note the x, y coordinates when the cursor points to the desired location. Use these values directly.
  2. Download the image from the image's file page to your computer. Open the image in any image viewer that displays the coordinates of the cursor position, such as Paint from Microsoft. Note the x, y coordinates when the cursor points to the location. Then:
1000 · x'/w = x  and  1000 · y'/w = y
where x' and y' are the cursor coordinates, w is the width of the image displayed on your computer and x and y are the values to assign to the x and y parameters.
Four Corners, Canada
Map showing the location of Four Corners, Canada
Four Corners, Canada
Example using the x and y parameters
{{Infobox cave
| name = Four Corners, Canada
| map = Canada location map.svg
| map_caption = Example using the x and y parameters
| x = 369
| y = 487
}}

Display a marker on any map image using the x% and y% parameters[ಬದಲಾಯಿಸಿ]

x% specifies the percent of the distance across the image from the left edge.
y% specifies the percent of the distance down from the top edge.

In the following example the marker is 36.9% of the way across and 57.4% of the way down.

Four Corners, Canada
Map showing the location of Four Corners, Canada
Four Corners, Canada
Example using the x% and y% parameters
{{Infobox cave
| name = Four Corners, Canada
| map = Relief map of Canada.png
| map_caption = Example using the x% and y% parameters
| x% = 36.9
| y% = 57.4
}}

Parameters for use in articles about caves of the British Isles[ಬದಲಾಯಿಸಿ]

Field name Description
grid_ref_UK If the cave is in Great Britain, the British grid reference.
grid_ref_Ireland If the cave is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference.
grid_ref Specify a citation for the grid reference using <ref>...</ref> tags.

Example of an infobox for a cave in the British Isles[ಬದಲಾಯಿಸಿ]

Aveline's Hole
Aveline's Hole
ಸ್ಥಳMendip Hills, Somerset, ಇಂಗ್ಲೆಂಡ್
ಓಎಸ್ ಗ್ರಿಡ್ST 4761 5867
ಆಳ16 metres (52 ft)
ಉದ್ದ68 metres (223 ft)
ಎತ್ತರ99 metres (325 ft)
ಅನ್ವೇಶಣೆ1797
ಭೂವಿಜ್ಞಾನLimestone
ನೋಂದಣಿ ಕಚೇರಿMendip Cave Registry[೧]
{{Infobox cave
| name = Aveline's Hole
| photo = Avelineshole.jpg
| photo_caption = Aveline's Hole
| location = [[Mendip Hills]], [[Somerset]], [[ಇಂಗ್ಲೆಂಡ್]]
| grid_ref_UK = ST 4761 5867
| depth = {{convert|16|m}}
| length = {{convert|68|m}}
| altitude = {{convert|99|m}}
| discovery = 1797
| geology = Limestone
| difficulty = 
| hazards = 
| access = 
| register = Mendip Cave Registry<ref>{{cite mcra |id=3 |name=Aveline's Hole |accessdate=2012-03-30}}</ref>
}}

For other registries consider using <ref>...</ref> tags and {{Cite web}}.

References example

  1. "Aveline's Hole". Mendip Cave Registry & Archive. Retrieved 2012-03-30.