Template:Infobox aerial lift line: Difference between revisions
en>Ɱ (→top) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
Infobox aerial lift line | |
---|---|
Script error: No such module "Infobox mapframe". |
File:Accessibility template icon.svg | This template's accessibility is in question. The specific issue is: insufficient color contrast. Relevant discussion may be found on the talk page. Information on making articles more accessible can be found at WikiProject Accessibility. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
Copy and paste the template below:
{{Infobox aerial lift line <!-- Header --> | line_color = <!-- Color of the line, if any (Hex triplet with prefix #) --> | name = <!-- Name of the aerial lift line (default: current page name)--> | native_name = <!-- Native name of the aerial lift line --> | native_name_lang = <!-- ISO 639-2 code e.g. "fre" or "fra" for French --> | image = <!-- Filename of aerial lift's image (w/o [[]] or File: --> | image_size = <!-- Image size in pixels --> | alt = <!-- Filename of alternate image --> | caption = <!-- Text for caption beneath image --> | image_map = | image_map_size = | image_map_alt = | image_map_caption = | pushpin_map = <!-- Name of the location map --> | pushpin_relief = <!-- Display relief map (if available), instead of default --> | pushpin_map_size = <!-- Map size in pixels --> | pushpin_label = | pushpin_map_alt = <!-- Name of the alternate location map --> | pushpin_map_caption = <!-- Text for caption beneath map --> | mapframe = <!-- Set to "yes" to show an interactive mapframe map --> <!-- Overview --> | alt_name = <!-- Alternate name of the aerial lift line --> | status = <!-- Under construction, Operational, Closed etc. --> | character = <!-- Urban, Recreational, Industrial etc. --> | system = <!-- Transport system, if part of --> | line_no = <!-- Lift line number --> | location = <!-- Address of base station --> | country = <!-- Country --> | coordinates = <!-- Coordinates of the base station, use {{Coord}} --> | start = <!-- Base station name --> | end = <!-- End station name --> | elev_low = <!-- Lowest elevation --> | elev_high = <!-- Highest elevation --> | cont_from = <!-- Line name continuing from --> | cont_as = <!-- Line name continuing as --> | connect_lines = <!-- Connection lines --> | no_stations = <!-- Number of stations (stops) --> | services = <!-- Servicing locale --> | built_by = <!-- Constructed by --> | constr_cost = <!-- Construction cost --> | begin = <!-- Date of construction begin --> | open = <!-- Date of opening {{start date and age|YYYY|MM||DD}} --> | last_ext = <!-- Date of last extension --> | close = <!-- Date of closing --> | reopen = <!-- Date of reopening {{start date and age|YYYY|MM||DD}} --> | website = <!-- Website {{URL|website}} --> <!-- Operation --> | owner = <!-- Owner company --> | operator = <!-- Operating company --> | no_carriers = <!-- Number of carriers in use --> | carrier_cap = <!-- Carrier capacity (passenger etc.) --> | ridership = <!-- Ridership --> | operating_times = <!-- Times of operation --> | trips_daily = <!-- Number of trips daily --> | headway = <!-- Headway --> | trip_duration = <!-- Duration of a complete one-way trip --> | fare = <!-- Trip fare --> | operating_time = <!-- Operating Time --> <!-- Technical features --> | lift_type = <!-- Type of aerial lift (use abbreviations from list below) --> | manufactured_by = <!-- Lift manufacturing company --> | line_length = <!-- Total length of the lift line --> | no_towers = <!-- Number of intermediate support towers --> | no_cables = <!-- Total number of cables --> | cable_diameter = <!-- Cable diameter --> | inst_power = <!-- Total installed power --> | speed = <!-- Operation speed --> | notes = <!-- Extra notes --> | vertical = | max_gradient = | map = | map_state = | map_name = }}
Mapframe map
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> to show shape/line features from the wikidata item, if any, when
|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
- mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. Default: not specified
- mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Default: not specified
- mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17),P131
for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131)). Default: aerialway - mapframe-switcher – set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: aerialway
- Can also be set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
Abbreviation list for aerial lift types
Color prefixed the description in the below list is used in infobox title and section titles. However, any "line color" of the aerial lift given as parameter overrides this color.
Abbrev | Color Description |
---|---|
ATW | Aerial tramway |
MGD | Mono-cable gondola detachable |
BGD | Bi-cable gondola detachable |
TGD | Tri-cable gondola detachable |
MGFP | Mono-cable gondola fixed grip pulsed |
MGFJ | Mono-cable gondola fixed grip jigback |
BGFP | Bi-cable gondola fixed grip pulsed |
CLF | Chairlift fixed grip |
CLD | Chairlift detachable |
CGD | Chairlift gondola detachable |
FT | Funitel |
FUF | Funifor |
RPC | Ropeway conveyor |
unspecified |
Example
Eyüp Gondola Eyüp-Piyerloti Teleferiği | |
---|---|
File:EyüpGondola1.JPG | |
Script error: No such module "Location map". | |
Script error: No such module "Infobox mapframe". | |
Overview | |
Status | Operational |
Character | Recreational |
System | Public transport in Istanbul |
Line no. | Tf2 |
Location | Eyüp, Istanbul |
Country | Turkey |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Termini | Eyüp (southeasr) Piyerloti (northwest) |
Elevation | lowest: Script error: No such module "convert". highest: Script error: No such module "convert". |
No. of stations | 2 |
Services | Piyerloti |
Open | November 30, 2005 |
Website | Script error: No such module "URL". |
Operation | |
Owner | Istanbul Metropolitan Municipality |
Operator | Istanbul Ulaşım Inc. |
No. of carriers | 4 (2 sets of 2 cabins in tandem) |
Carrier capacity | 8 |
Ridership | 2,000 daily |
Operating times | 8:00 - 23:00 (summer season), 8:00 - 22:00 (winter season) |
Trips daily | 200 |
Headway | 5 minutes during peak hours |
Trip duration | 2.75 min |
Fare | ₺1.95 (by Istanbulkart) |
Technical features | |
Aerial lift type | Mono-cable gondola fixed grip pulsed |
Manufactured by | Leitner Ropeways, Italy |
Line length | Script error: No such module "convert". |
No. of support towers | 1 |
No. of cables | 1 |
Operating speed | Script error: No such module "convert". |
{{Infobox aerial lift line <!-- Header --> | line_color = #868F98 | line_name = Eyüp Gondola | native_name = Eyüp-Piyerloti Teleferiği | native_name_lang = tr | image = EyüpGondola1.JPG | caption = Eyüp Gondola seen from Piyerloti station | pushpin_map = Turkey Istanbul | pushpin_map_caption = Location within Istanbul, Turkey | coordinates = {{coord|41.05017|N|28.93437|E}} <!-- Overview --> | status = Operational | character = Recreational | system = [[Public transport in Istanbul]] | line_no = Tf2 | location = [[Eyüp]], [[Istanbul]] | country = Turkey | start = [[Eyüp]] (southeasr) | end = Piyerloti (northwest) | elev_low = {{convert|0|m|ft|abbr=on}} | elev_high = {{convert|53|m|ft|abbr=on}} | no_stations = 2 | services = Piyerloti | open = {{start date and age|2005|11|30}} | website = {{URL|http://www.istanbul-ulasim.com.tr/our-network/eyup-piyerloti-aerial-cable-car.aspx|istanbul-ulasim.com.tr/...}} <!-- Operation --> | owner = Istanbul Metropolitan Municipality | operator = Istanbul Ulaşım Inc. | no_carriers = 4 (2 sets of 2 cabins in tandem) | carrier_cap = 8 | ridership = 2,000 daily | operating_times = 8:00 - 23:00 (summer season),<br /> 8:00 - 22:00 (winter season) | trips_daily = 200 | trip_duration = 2.75 min | headway = 5 minutes during peak hours | fare = {{Turkish lira}}1.95 (by [[Istanbulkart]]) <!-- Technical features --> | lift_type = MGFP | manufactured_by = Leitner Ropeways, [[Italy]] | line_length = {{convert|384|m|ft|abbr=on}} | no_towers = 1 | no_cables = 1 | speed = {{convert|4|m/s|ft/s|abbr=on}} }}
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.