টেমপ্লেট:Infobox map

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
নথি আইকন টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

This helper template provides a way to display a map in an Infobox. Optionally a location marker can be included.

ব্যবহার[সম্পাদনা]

পরামিতি বর্ণনা[সম্পাদনা]

Field name Description
map The name of the map to be displayed. This is the only required parameter.
map_width The width of the map image to be displayed. For example map_width=220 and not map_width=220px. The default width is 220px.
relief Selects a relief map when assigned any value. This only works when the geographical coordinates method is used and then only for a few maps. See Map display methods.
map_alt Alt text for the map. A visually impaired reader who uses a screen reader will have access to this text. See WP:ALT.
map_caption The caption that appears below the map if one is required.
mark The image file that will be used to mark the location on the map. The default is Red pog.svg. See below.
mark_width The width of the marker image to be displayed. For example mark_width=8 and not mark_width=8px. The default width is 8px.
label A text message that will be displayed next to the marker. This only works when the geographical coordinates method is used. See below.
label_position The position of a label with respect to the marker. This works with the "coordinates method described below. Valid values are left, right, top, bottom and none.
lat
long
Specifies the latitude and longitude of the location when the geographical coordinates method is used. This value must be specified as a signed decimal degree. See below.
x
y
Specifies the position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See below.

মানচিত্র প্রদর্শনের পদ্ধতি[সম্পাদনা]

Any image of a map showing the location of the protected area can be used. There are two methods which can display a location mark to on a map.

ভৌগলিক স্থানাঙ্ক পদ্ধতি[সম্পাদনা]

Dry Island Buffalo Jump Provincial Park
Location of Dry Island Buffalo Jump in Alberta, Canada
{{Infobox
| above = Dry Island Buffalo Jump Provincial Park
| image2 = {{Infobox map
           | map         = Canada Alberta
           | map_alt     = Located in south central Alberta, which is in western Canada.
           | map_caption = Location of Dry Island Buffalo Jump in Alberta, Canada
           | map_width   = 200
           | label       = Dry Island Buffalo Jump
           | lat         = 51.9438889
           | long        = -112.9636110
           }}
}}
Three examples of maps of the United States
USA
Equirectangular projection
USA2
Equidistant conic projection
USA relief
Equidistant conic projection using shaded relief
USA location map.svg Usa edcp location map.svg Usa edcp relief location map.png

X,Y স্থানাঙ্ক পদ্ধতি[সম্পাদনা]

x is the pixel offset of the mark from the left edge of the map image based on a image 1000px wide.
y is the pixel offset of the mark from the top edge of the map image based on a image 1000px wide.

Any size map image can be displayed by setting map_width to a different value.

Old Faithful
Map shows Old faithful is near other geysers, a visitor center and lodging.
Red pog.svg
{{Infobox
| above = Old Faithful
| image2 = {{Infobox map
           | map         = Old Faithful area.png
           | map_alt     = Map shows Old faithful is near other geysers, a visitor center and lodging.
           | map_caption =
           | map_width   = 200
           | x           = 679
           | y           = 630
           }}
}}

সামঞ্জস্যের পদ্ধতি[সম্পাদনা]

pixel_x is the pixel offset for the left edge of the marker image from the left edge of the map image.
pixel_y is the pixel offset for the top edge of the marker image from the top edge of the map image.

The upper left hand corner marker image will be displayed at the coordinates specified. To center the marker subtract half the width of the marker from pixel_x and half the height of the marker from pixel_y.

This method is not recommend. Changing the size of the map image without adjusting the marker coordinates will generate unintended output.

কোন মানচিত্র চিত্র প্রদর্শন[সম্পাদনা]

A third option allows the display of any map image without a location mark being added.

A world map showing regions that produce Brazil nuts.
{{Infobox
| above =
| image2 = {{Infobox map
           | map         = Braziloutput.png
           | map_alt     = A world map showing regions that produce Brazil nuts.
           | map_caption =
           | map_width   = 200
           }}
}}

টেমপ্লেট:Infobox map/marks

ভৌগলিক স্থানাঙ্ক[সম্পাদনা]

The template {{decdeg}} can be used to allow additional parameters for the entry of geographical coordinates. The template can be used with or without named parameters. If the unnamed option is used all parameter must be supplied but they can be void. The following markup can be used to allow the template user to enter coordinates. These parameters names are recommended by WikiProject Geographical coordinates.

| lat  = {{decdeg|{{{lat_d|}}}|{{{lat_m|}}}|{{{lat_s|}}}|{{{lat_NS|}}} }}
| long = {{decdeg|{{{long_d|}}}|{{{long_m|}}}|{{{long_s|}}}|{{{long_EW|}}} }}

To display coordinates in the Infobox two methods can be used. The template {{Infobox coord}} can be used to display coordinates entered using the method discussed above. If the X,Y method is used to display a marker then the template {{coord}} can be used. For examples of coordinate entry see coordinate examples.

আরও দেখুন[সম্পাদনা]