پرش به محتوا

الگو:جعبه اطلاعات گردنه/توضیحات: تفاوت میان نسخه‌ها

مختصات: ۵۴°۲۸′۳۸″شمالی ۲°۵۵′۲۲″غربی / ۵۴٫۴۷۷۳۳°شمالی ۲٫۹۲۲۸۳°غربی / 54.47733; -2.92283
از ویکی‌پدیا، دانشنامهٔ آزاد
محتوای حذف‌شده محتوای افزوده‌شده
جز ربات :جایگزینی پیوند قرمز Teton Range > رشته کوه تیتان (۷.۱)
جزبدون خلاصۀ ویرایش
 
(۱۰ نسخهٔ میانی ویرایش شده توسط ۷ کاربر نشان داده نشد)
خط ۱: خط ۱:
{{زیرصفحه توضیحات}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{لوآ|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parameters}}


This template can be used to create an [[Help:Infobox|infobox]] for an article about a [[mountain pass]]. Other infoboxes can be embedded in this template, and it can be embedded in other infoboxes. For more information on these options, read [[Template:Infobox#Embedding|Infobox Embedding]].
This template can be used to create an [[راهنما:جعبه اطلاعات|infobox]] for an article about a [[گردنه]]. Other infoboxes can be embedded in this template, and it can be embedded in other infoboxes. For more information on these options, read [[الگو:Infobox|Infobox Embedding]].


== Usage ==
== Usage ==
=== Cut and paste box ===


=== Cut and paste box ===
These parameters can be used to create a fully functional infobox.
These parameters can be used to create a fully functional infobox.


خط ۱۵: خط ۱۶:
| photo_caption =
| photo_caption =
| elevation =
| elevation =
| traversed =
| location =
| location =
| range =
| range =
| coordinates =
| coordinates =
}}</pre>
| traversed =

=== Full parameters ===
<pre style="width:20em;">
{{Infobox mountain pass
| name =
| other_name =
| photo =
| photo_size =
| photo_alt =
| photo_caption =
| map =
| map_alt =
| map_caption =
| map_relief =
| map_size =
| label =
| label_position =
| elevation =
| elevation_m =
| elevation_ft =
| elevation_ref =
| traversed =
| length =
| length_km =
| length_mi =
| length_ref =
| grade_avg =
| grade_max =
| ascent =
| traversed2 =
| length2 =
| length_km2 =
| length_mi2 =
| length_ref2 =
| grade_avg2 =
| grade_max2 =
| ascent2 =
| traversed3 =
| length3 =
| length_km3 =
| length_mi3 =
| length_ref3 =
| grade_avg3 =
| grade_max3 =
| ascent3 =
| location =
| range =
| grid_ref_UK =
| grid_ref_Ireland =
| coordinates =
| coordinates_ref =
| topo =
| embedded =
| child =
}}</pre>
}}</pre>


=== Parameter descriptions ===
=== Parameter descriptions ===
This table describes most of the parameters available. See below for additional parameters. Only the <code>name</code> parameter must be assigned a value. Remember to reduce the width of photos and maps so that they do not inappropriately dominate the infobox.

This table describes most of the parameters available. See below for additional parameters. Only the <code>name</code> parameter must be assigned a value. Remember to reduced the width of photos and maps so that they do not inappropriately dominate the infobox.


{| class="wikitable" style="width: 97%;"
{| class="wikitable" style="width: 97%;"
! Parameter || Description
! Parameter || Description
|-
|-
| <code>name</code> || Required. The name of the pass. 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 [[Lolo Pass (Idaho–Montana)]] then <code>name=Lolo Pass</code>.
| <code>name</code> || Required. The name of the pass. 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 [[Lolo Pass (Idaho–Montana)]] then <code>name=Lolo Pass</code>.
|-
|-
| <code>other_name</code> || This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. Use a language template if the name is not English. For example: <nowiki>{{lang-fr|Ventour in Provençal}}</nowiki> → {{lang-fr|Ventour in Provençal}}.
| <code>other_name</code> || This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. Use a language template if the name is not English. For example: <nowiki>{{Lang-fr|Ventour in Provençal}}</nowiki> → {{Lang-fr|Ventour in Provençal}}.
|-
|-
| <code>photo</code> || The name of an image file to be displayed. No special formatting is needed.
| <code>photo</code> || The name of an image file to be displayed. No special formatting is needed.
|-
|-
| <code>photo_width</code> || Can be used to change the display width of the image. The default and maximum value is 280px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180px or 220px. For example <code>photo_width=200</code> and not <code>photo_width=200px</code>.
| <code>photo_width</code> || Can be used to change the display width of the image. The default and maximum value is 280px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180px or 220px. For example, <code>photo_width=200</code> and not <code>photo_width=200px</code>.
|-
|-
| <code>photo_alt</code> || Alt text for the photo, for visually impaired readers. See [[WP:ALT]].
| <code>photo_alt</code> || Alt text for the photo, for visually impaired readers. See [[ویکی‌پدیا:متن جایگزین برای تصاویر]].
|-
|-
| <code>photo_caption</code> || A caption which will appear below the image if one is required.
| <code>photo_caption</code> || A caption which will appear below the image if one is required.
خط ۴۲: خط ۹۷:
| <code>map</code> || The name of the map to be displayed. See [[#Map display methods|Map display methods]] below.
| <code>map</code> || The name of the map to be displayed. See [[#Map display methods|Map display methods]] below.
|-
|-
| <code>map_alt</code> || Alt text for the map. See [[ویکی‌پدیا:متن جایگزین برای تصاویر]].
| <code>map_relief</code> || This infobox will attempt to display a relief map if one is available. To force display of the default map image use {{para|map_relief|0}}.
|-
|-
| <code>map_caption</code> || A caption which will appear below the map if one is required.
|<code>map_size</code> || Can change the display width of the map. The default and maximum width is 272px, but usually the map should be much smaller. For example <code>map_dize=200</code> and not <code>map_size=200px</code>.
|-
|-
| <code>map_relief</code> || This infobox will attempt to display a relief map if one is available. To force display of the default map image use {{پارا|map_relief|0}}.
| <code>map_alt</code> || Alt text for the map. See [[WP:ALT]].
|-
|-
|<code>map_size</code> || Can change the display width of the map. The default and maximum width is 272px, but usually the map should be much smaller. For example, <code>map_size=200</code> and not <code>map_size=200px</code>.
| <code>map_caption</code> || A caption which will appear below the map if one is required.
|-
|-
| <code>coordinates</code> or <code>coords</code> || For use with the {{الگو|coord}} template. When using the {{پیوند الگو با پیوند خاموش|coord}} template standard [[راهنما:پانویس‌ها|footnote]] syntax can be used; {{پارا|coordinates_ref}} can also be used.
| <code>x</code><br/><code>y</code> || Specifies the position of the location marker on some types of maps when the XY 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 [[#Display a marker on any map image|below]].
|-
|-
| <code>elevation</code> || The elevation of summit. Metres should be used first for all passes outside of the United States and feet for those within the U.S. For conversions, use <code>elevation_m</code> for metres to feet or <code>elevation_ft</code> for feet to metres.
| <code>elevation</code> || The elevation of summit. Metres should be used first for all passes outside of the United States and feet for those within the U.S. For conversions, use <code>elevation_m</code> for metres to feet or <code>elevation_ft</code> for feet to metres.
|-
|-
| <code>elevation_ref</code> || Reference for the elevation using {{nowrap|<code><nowiki><ref>...</ref></nowiki></code>}} tags. If <code>elevation_m</code> or <code>elevation_ft</code> was used, the reference must be supplied using this parameter.
| <code>elevation_ref</code> || Reference for the elevation using {{Nowrap|<code><nowiki><ref>...</ref></nowiki></code>}} tags. If <code>elevation_m</code> or <code>elevation_ft</code> was used, the reference must be supplied using this parameter.
|-
|-
| <code>length</code> (or <code>length2</code> and <code>length3</code>) || The length of (first) ascent. Kilometres should be used first for all passes outside of the United States and miles for those within the U.S. For conversions, use <code>length_km</code> for kilometres to miles or <code>length_mi</code> for miles to kilometres.
| <code>traversed</code> || Any route which traverses the pass.
|-
|-
| <code>length_ref</code> (or <code>length_ref2</code> and <code>length_ref3</code>) || Reference for the length using {{Nowrap|<code><nowiki><ref>...</ref></nowiki></code>}} tags. If <code>length_km</code> or <code>length_mi</code> was used, the reference must be supplied using this parameter.
| <code>location</code> || The location of the pass. 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.
|-
|-
| <code>traversed</code> (or <code>traversed2</code> and <code>traversed3</code>) || A route which traverses the pass.
| <code>range</code> || [[Mountain range]] if applicable. A subrange should be provided instead of any major mountain system unless there is no applicable subrange. For example, use [[رشته کوه تیتان]] and not [[Rocky Mountains]] or [[Bernese Alps]] not [[Alps]].
|-
|-
| <code>grade_avg</code>(or <code>grade_avg2</code> and <code>grade_avg3</code>) || The average gradient of an ascent of the pass.
| <code>grid_ref_UK</code> || If the mountain pass is in [[بریتانیای کبیر]], the [[British national grid reference system|British grid reference]]. For locations outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
|-
|-
| <code>grade_max</code> (or <code>grade_max2</code> and <code>grade_max3</code>) || The maximum gradient of an ascent of the pass.
| <code>grid_ref_Ireland</code> || If the mountain pass is in [[جزیره ایرلند]] (whether [[ایرلند شمالی]] or the [[ایرلند|Republic]]), the [[Irish national grid reference system|Irish grid reference]]. For location outside Ireland, this field is not applicable and therefore should be removed if it is present.
|-
|-
| <code>ascent</code> (or <code>ascent2</code> and <code>ascent3</code>) || A foot of the pass, the place from which the pass ascends.
| <code>coords</code> || For use with the {{tl|Coords}} template. See [[#Display a marker on any map image|below]] if a map is to be displayed. When using the {{tlf|coord}} template standard [[help:footnotes|footnote]] syntax can be used.
|-
|-
| <code>topo</code> || The name of the [[topographic map]] showing the mountain. In Canada, this is usually the [[National Topographic System]] map number while for the USA, it's the map name from the USGS.
| <code>location</code> || The location of the pass. 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.
|}

== Map display methods ==
=== Display a marker on a map using a template and coordinates ===

A marker can be superimposed on a map using one of a set of map templates. This method requires the geographic coordinates to be entered using the parameters below and assigning <code>map</code> the name of the area covered by one of a set of location map templates. The parameters for this template map to a subset of the parameters for {{tl|Location map}} and reading the documentation for that template might be helpful.

The coordinates and related information must be entered using the of parameters below. These parameters specify the same data as that used by the {{tl|Coord}}.

{| class="wikitable" style="width: 97%;"
! Parameter || Description
|-
|-
| <code>range</code> || [[رشته‌کوه]] if applicable. A subrange should be provided instead of any major mountain system unless there is no applicable subrange. For example, use [[رشته کوه تیتان]] and not [[کوه‌های راکی]] or [[آلپ برنی]] not [[آلپ]].
|<code>lat_d</code> || The degrees of latitude. This value can be specified as a [[Decimal degrees|decimal degree]] and when this format is used minutes and seconds should not be specified.
|-
|-
| <code>grid_ref_UK</code> || If the mountain pass is in [[بریتانیای کبیر]], the [[British national grid reference system|British grid reference]]. For locations outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
|<code>lat_m</code> || The minutes of latitude.
|-
|<code>lat_s</code> || The seconds of latitude.
|-
|<code>lat_NS</code> || N if north of the equator, S if south of the equator. Other values will be disregarded.
|-
|<code>long_d</code> || The degrees of longitude. This value can be specified as a [[Decimal degrees|decimal degree]] and when this format is used minutes and seconds should not be specified.
|-
|<code>long_m</code> || The minutes of longitude.
|-
|<code>long_s</code> || The seconds of longitude.
|-
|<code>long_EW</code> || E if East of the [[prime meridian]], W if west of the prime meridian. Other values will be disregarded.
|-
|<code>type</code> || 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 <code>pass</code>. This parameter and the three below help [[tswiki:GeoHack|GeoHack]] in selecting suitable map resources.
|-
|<code>scale</code> || Determines the zoom factor for external-website maps. See [[WP:COORD SCALE]]. Using {{para|scale|50000}} will change the zoom factor to 1:50,000. Default value is 50000.
|-
|<code>region_code</code> || 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]].
|-
|<code>source</code> || Source of the coordinate data. See [[WP:COORD SOURCE]]. It will not be displayed.
|-
|-
| <code>grid_ref_Ireland</code> || If the mountain pass is in [[ایرلند]] (whether [[ایرلند شمالی]] or the [[جمهوری ایرلند|Republic]]), the [[Irish national grid reference system|Irish grid reference]]. For location outside Ireland, this field is not applicable and therefore should be removed if it is present.
|<code>format</code> || Determines the format used to the display coordinates. Valid values are <code>dms</code> for degrees, minutes and seconds, and <code>dec</code> for [[decimal degrees]]. The default is <code>dms</code>.
|-
|-
| <code>topo</code> || The name of the [[نقشه توپوگرافی]] showing the mountain. In Canada, this is usually the [[National Topographic System]] map number while for the USA, it's the map name from the USGS.
|<code>display</code> || Determines where the coordinates will be displayed. Valid values are <code>inline</code> and <code>inline,title</code>. The default is <code>inline,title</code> and is recommended.
|-
|-
|<code>coords_ref</code> || Must be used when citing the source of the coordinates when using the parameters above. Use {{nowrap|<code><nowiki><ref>...</ref></nowiki></code>}} tags.
|}
|}


== Map display method ==
Location map templates can be found using these sources:
:[[Template:Location map/List|List of templates]] - 1050 templates available when the list was generated.
:[[:Category:Location map templates]] - templates sorted by category.
:[[Special:Prefixindex/Template:Location map]] - a search that might help.
:[[Special:WhatLinksHere/Template:Location map/Info]] - another search that might help.


=== Display a marker on a map using a template and coordinates ===
All of the names begin with the words "Location map" followed by the area covered. The value you need to assign to the parameter, <code>map</code>, is the area name. The map template for the for France is {{tl|Location map Alps}}. In this case specify <code>map=Alps</code>.

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 {{الگو|Coord}} template inside the {{پارا|{{{coordinates|coordinates}}}}} parameter. 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:
:[[Template:Location map/List|List of templates]] – Many of the listed items are redirects and a few templates may not function as expected.
:[[:رده:الگو:روی نقشه]] – templates sorted by category.
:[[Special:WhatLinksHere/Template:Location map/Info]] – a search that might help.
:[[Special:PrefixIndex/Module:Location map/data/]] – another 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 Alps is [[پودمان:Location map/data/Alps]]. In this case specify {{پارا|map|Alps}}.
{{Infobox mountain pass
{{Infobox mountain pass
| name = Turracher Höhe Pass
| name = Turracher Höhe Pass
| map = Alps
| map = Alps
| map_caption = The pass is on the border between [[Styria]] and [[Carinthia (state)|Carinthia]]
| map_caption = Location in the Alps. The pass is on the [[اشتایرمارک]][[کرنتن|Carinthia]] border
| location = {{AUT}}
| location = [[اتریش]]
| coordinates = {{Coord|46.91442|13.87500|region:AT|display=inline}}
| lat_d = 46.91442
| long_d = 13.87500
| region = AT
| display = inline
}}
}}


خط ۱۳۴: خط ۱۵۹:
| name = Turracher Höhe Pass
| name = Turracher Höhe Pass
| map = Alps
| map = Alps
| map_caption = The pass is on the border between [[Styria]] and [[Carinthia (state)|Carinthia]]
| map_caption = Location in the Alps. The pass is on the [[اشتایرمارک]][[کرنتن|Carinthia]] border
| location = {{AUT}}
| location = [[اتریش]]
| lat_d = 46.91442
| coordinates = {{Coord|46.91442|13.87500|region:AT}}
| long_d = 13.87500
| region = AT
}}
}}
</pre>
</pre>
{{clear}}

=== Display a marker on any map image ===

To display a marker on any map use the '''<code>x</code>''' and '''<code>y</code>''' parameters.

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

:'''<code>x</code>''' is the pixel offset for the mark from the left edge of an image 1000px wide.
:'''<code>y</code>''' 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:

#Download the image from the image's [[Help:file page|file page]] to your computer. Open the image in a [[graphics software|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 [[mouse cursor]] points to to the desired location. Use these values directly.
#Download the image from the image's [[Help:file page|file page]] to your computer. Open the image in any [[image viewer]] that displays the coordinates of the cursor position, such as [[Paint (software)|Paint]] from Microsoft. Note the X, Y coordinates when the [[mouse cursor]] points to the location. Then:

::{{math|big=1|{{sfrac|1000{{·}}x'|w}} {{=}} x}}&nbsp; and&nbsp; {{math|big=1|{{sfrac|1000{{·}}y'|w}} {{=}} y}}

::where {{math|big=1|x'}} and {{math|big=1|y'}} are the mouse cursor coordinates, {{math|big=1|w}} is the width of the image displayed on your computer and {{math|big=1|x}} and {{math|big=1|y}} are the values to assign to the '''<code>x</code>''' and '''<code>y</code>''' parameters.

These computed coordinates are relative and will work even if the width of the image displayed in an article is changed by another user. Using simple pixel coordinate values would not have this advantage. Note that Wikipedia does not allow the [[aspect ratio (image)|aspect ratio]] of an image to be altered.

In the example below the marker is 74.2% of the way across the map from the left side and 20.2% of the way down from the top, so x=742 and y=202.



{{Infobox mountain pass
{{Infobox mountain pass
| name = Turracher Höhe Pass
|name=Kirkstone Pass
|photo=Kirkstone_pass_inn.jpeg
| map = Alps location map.png
|photo_caption=Kirkstone Pass Inn
| map_caption = Pass on the border
|elevation_ft=1489
| location = {{AUT}}
|coordinates={{Coord|54.47733|N|2.92283|W|region:GB_source:enwiki-osgb36(NY403095)|display=title,inline}}<!-- Note: WGS84 lat/long, converted from OSGB36 grid ref -->
| coords = {{coord|46.91442
|traversed=[[A592 road]]
| 13.87500 | format=dms
|ascent=[[Ullswater]]
| type:pass_region:AT
|traversed2=[[A592 road]]
| display=inline}}
|ascent2=[[امبلساید]]
| x = 742
|traversed3=''The Struggle''
| y = 202
|grade_max3=24
|grade_avg3=8.2
|length_km3=4.8
|ascent3=[[امبلساید]]
}}
}}


<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox mountain pass
{{Infobox mountain pass
| name = Turracher Höhe Pass
|name=Kirkstone Pass
|photo=Kirkstone_pass_inn.jpeg
| map = Alps location map.png
|photo_caption=Kirkstone Pass Inn
| map_caption = Pass on the border
|elevation_ft=1489
| location = {{AUT}}
|coordinates={{Coord|54.47733|N|2.92283|W|region:GB_source:enwiki-osgb36(NY403095)|display=title,inline}}<!-- Note: WGS84 lat/long, converted from OSGB36 grid ref -->
| coords = {{coord|46.91442
|traversed=[[A592 road]]
| 13.87500 | format=dms
|ascent=[[Ullswater]]
| type:pass_region:AT
|traversed2=[[A592 road]]
| display=inline}}
|ascent2=[[امبلساید]]
| x = 742
|traversed3=''The Struggle''
| y = 202
|grade_max3=24
|grade_avg3=8.2
|length_km3=4.8
|ascent3=[[امبلساید]]
}}
}}
</pre>
</pre>
{{clear}}
{{پاک‌کن}}


== Microformat ==
== Microformat ==
The articles created using this template include an hCard microformat. For more information read [[:Template:UF-hcard-place|this]].
The articles created using this template include an hCard microformat. For more information read [[:الگو:UF-hcard-place|this]].


== Tracking category ==
<includeonly>
* {{پیوند رده با شمار|صفحه‌هایی که از جعبه اطلاعات گردنه با پارامترهای نامعلوم استفاده می‌کنند}}
<!-- CATEGORIES HERE, THANKS -->
{{DEFAULTSORT:Template:Infobox mountain pass}}
[[Category:WikiProject Mountains]]
[[Category:Geography infobox templates|Mountain pass]]


<includeonly>{{Sandbox other||
<!-- INTERWIKIS HERE, THANKS -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[es:Plantilla:Puerto de Montaña]]
[[رده:الگو:جعبه اطلاعات مکان|گردنه]]
</includeonly>
[[رده:الگو:مندرج]]
[[رده:الگو:افزاینده رده ردیابی]]
}}</includeonly>

نسخهٔ کنونی تا ۲۷ ژوئن ۲۰۲۴، ساعت ۰۱:۰۵

This template can be used to create an infobox for an article about a گردنه. Other infoboxes can be embedded in this template, and it can be embedded in other infoboxes. For more information on these options, read Infobox Embedding.

Cut and paste box

[ویرایش]

These parameters can be used to create a fully functional infobox.

{{Infobox mountain pass
| name = 
| photo = 
| photo_caption = 
| elevation = 
| traversed = 
| location = 
| range = 
| coordinates = 
}}

Full parameters

[ویرایش]
{{Infobox mountain pass
| name              = 
| other_name        = 
| photo             = 
| photo_size        = 
| photo_alt         = 
| photo_caption     = 
| map               = 
| map_alt           = 
| map_caption       = 
| map_relief        = 
| map_size          = 
| label             = 
| label_position    = 
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| traversed         =
| length            =
| length_km         =
| length_mi         =
| length_ref        =
| grade_avg         =
| grade_max         =
| ascent             =
| traversed2         =
| length2            =
| length_km2         =
| length_mi2         =
| length_ref2        =
| grade_avg2         =
| grade_max2         =
| ascent2            =
| traversed3         =
| length3            =
| length_km3         =
| length_mi3         =
| length_ref3        =
| grade_avg3         =
| grade_max3         =
| ascent3            =
| location          = 
| range             = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| coordinates       = 
| coordinates_ref   = 
| topo              = 
| embedded          = 
| child             =
}}

Parameter descriptions

[ویرایش]

This table describes most of the parameters available. See below for additional parameters. Only the name parameter must be assigned a value. Remember to reduce the width of photos and maps so that they do not inappropriately dominate the infobox.

Parameter Description
name Required. The name of the pass. 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 Lolo Pass (Idaho–Montana) then name=Lolo Pass.
other_name This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. Use a language template if the name is not English. For example: {{Lang-fr|Ventour in Provençal}} → فرانسوی: Ventour in Provençal‎.
photo The name of an image file to be displayed. No special formatting is needed.
photo_width Can be used to change the display width of the image. The default and maximum value is 280px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180px or 220px. For example, photo_width=200 and not photo_width=200px.
photo_alt Alt text for the photo, for visually impaired readers. See ویکی‌پدیا:متن جایگزین برای تصاویر.
photo_caption A caption which will appear below the image if one is required.
map The name of the map to be displayed. See Map display methods below.
map_alt Alt text for the map. See ویکی‌پدیا:متن جایگزین برای تصاویر.
map_caption A caption which will appear below the map if one is required.
map_relief This infobox will attempt to display a relief map if one is available. To force display of the default map image use |map_relief=0.
map_size Can change the display width of the map. The default and maximum width is 272px, but usually the map should be much smaller. For example, map_size=200 and not map_size=200px.
coordinates or coords For use with the {{coord}} template. When using the {{coord}} template standard footnote syntax can be used; |coordinates_ref= can also be used.
elevation The elevation of summit. Metres should be used first for all passes outside of the United States and feet for those within the U.S. For conversions, use elevation_m for metres to feet or elevation_ft for feet to metres.
elevation_ref Reference for the elevation using <ref>...</ref> tags. If elevation_m or elevation_ft was used, the reference must be supplied using this parameter.
length (or length2 and length3) The length of (first) ascent. Kilometres should be used first for all passes outside of the United States and miles for those within the U.S. For conversions, use length_km for kilometres to miles or length_mi for miles to kilometres.
length_ref (or length_ref2 and length_ref3) Reference for the length using <ref>...</ref> tags. If length_km or length_mi was used, the reference must be supplied using this parameter.
traversed (or traversed2 and traversed3) A route which traverses the pass.
grade_avg(or grade_avg2 and grade_avg3) The average gradient of an ascent of the pass.
grade_max (or grade_max2 and grade_max3) The maximum gradient of an ascent of the pass.
ascent (or ascent2 and ascent3) A foot of the pass, the place from which the pass ascends.
location The location of the pass. 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.
range رشته‌کوه if applicable. A subrange should be provided instead of any major mountain system unless there is no applicable subrange. For example, use رشته کوه تیتان and not کوه‌های راکی or آلپ برنی not آلپ.
grid_ref_UK If the mountain pass is in بریتانیای کبیر, the British grid reference. For locations outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
grid_ref_Ireland If the mountain pass is in ایرلند (whether ایرلند شمالی or the Republic), the Irish grid reference. For location outside Ireland, this field is not applicable and therefore should be removed if it is present.
topo The name of the نقشه توپوگرافی showing the mountain. In Canada, this is usually the National Topographic System map number while for the USA, it's the map name from the USGS.

Map display method

[ویرایش]

Display a marker on a map using a template and 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 {{Coord}} template inside the |coordinates= parameter. 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.
رده:الگو:روی نقشه – templates sorted by category.
Special:WhatLinksHere/Template:Location map/Info – a search that might help.
Special:PrefixIndex/Module:Location map/data/ – another 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 Alps is پودمان:Location map/data/Alps. In this case specify |map=Alps.

Turracher Höhe Pass
Turracher Höhe Pass در آلپ واقع شده
Turracher Höhe Pass
Location in the Alps. The pass is on the اشتایرمارکCarinthia border
موقعیتاتریش
مختصات۴۶°۵۴′۵۲″شمالی ۱۳°۵۲′۳۰″شرقی / ۴۶٫۹۱۴۴۲°شمالی ۱۳٫۸۷۵۰۰°شرقی / 46.91442; 13.87500
{{Infobox mountain pass
| name = Turracher Höhe Pass
| map = Alps
| map_caption = Location in the Alps. The pass is on the [[اشتایرمارک]]–[[کرنتن|Carinthia]] border
| location = [[اتریش]]
| coordinates = {{Coord|46.91442|13.87500|region:AT}}
}}
Kirkstone Pass
Kirkstone Pass Inn
ارتفاع۱٬۴۸۹ پا (۴۵۴ متر)
نخستین ورودی
قطع‌شده توسطA592 road
صعود ازUllswater
دومین ورودی
قطع‌شده توسطA592 road
صعود ازامبلساید
سومین ورودی
طول۴٫۸ کیلومتر (۳٫۰ مایل)
قطع‌شده توسطThe Struggle
میانگین شیب8.2 ٪
بیشترین شیب24 ٪
صعود ازامبلساید
مختصات۵۴°۲۸′۳۸″شمالی ۲°۵۵′۲۲″غربی / ۵۴٫۴۷۷۳۳°شمالی ۲٫۹۲۲۸۳°غربی / 54.47733; -2.92283
{{Infobox mountain pass
|name=Kirkstone Pass
|photo=Kirkstone_pass_inn.jpeg
|photo_caption=Kirkstone Pass Inn
|elevation_ft=1489
|coordinates={{Coord|54.47733|N|2.92283|W|region:GB_source:enwiki-osgb36(NY403095)|display=title,inline}}<!-- Note: WGS84 lat/long, converted from OSGB36 grid ref -->
|traversed=[[A592 road]]
|ascent=[[Ullswater]]
|traversed2=[[A592 road]]
|ascent2=[[امبلساید]]
|traversed3=''The Struggle''
|grade_max3=24
|grade_avg3=8.2
|length_km3=4.8
|ascent3=[[امبلساید]]
}}

Microformat

[ویرایش]

The articles created using this template include an hCard microformat. For more information read this.

Tracking category

[ویرایش]