Template:Infobox port-of-entry
Appearance
| This template uses Lua: |
Usage
[edit]| {{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] {{{image_caption}}} | |
| [[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] {{{logo_caption}}} | |
![]() | |
| Locaiton | |
| Country | {{{country}}} |
| Location | {{{location}}} |
| Coordinates | 51°53′06″N 4°17′12″E / 51.8850°N 4.2867°E{{{coordinates_footnotes}}} |
| {{{grid_name}}} | {{{grid_position}}} |
| Details | |
| Opened | {{{opened}}} |
| Closed | {{{closed}}} |
| Operated by | {{{operated}}} |
| Owned by | {{{owner}}} |
| {{{leadershiptitle}}} | {{{leader}}} |
| Statistics | |
| Passenger traffic | {{{passengertraffic}}} |
| {{{blankstatstitle1}}} | {{{blankstats1}}} |
| {{{blankstatstitle2}}} | {{{blankstats2}}} |
| {{{blankstatstitle3}}} | {{{blankstats3}}} |
| Website | |
| {{{website}}} | |
| {{{embedded}}} | |
All fields are optional, if left blank they will not appear. Both the "Details" and "Statistics" have three blank spots to cover additional entries and allow for maximum flexibility.
{{Infobox port-of-entry
| embed =
| name =
| image =
| image_alt =
| image_size =
| image_caption =
| logo =
| logo_alt =
| logo_size =
| logo_caption =
| pushpin_map =
| pushpin_map_geomask =
| pushpin_map_zoom =
| country =
| location =
| coordinates =
| coordinates_footnotes =
| grid_name =
| grid_position =
| opened =
| closed =
| leadershiptitle =
| leader =
| passengertraffic =
| blankstatstitle1 =
| blankstats1 =
| blankstatstitle2 =
| blankstats2 =
| blankstatstitle3 =
| blankstats3 =
| website =
| embedded =
}}
Parameter descriptions
[edit]|embed=|name=name of port-of-entry|image=filename of image of the port=of-entry|image_size=width of image in px (use only for images smaller than 250px)|image_caption=text for caption beneath image|logo=filename of official logo image for the port|logo_alt=alt text for the logo image|logo_size=width of logo image in px (use only for images smaller than 250px)|logo_caption=caption for logo image|pushpin_map=any value in this field will cause a map to appear|pushpin_map_geomask=if set to "Yes", the map with highlight the country and grey the rest|pushpin_map_zoom=set zoom level for the map|country=UN recognised country within which the port is located|location=nearest city (also state/province/locale where relevant)|coordinates=latitude and longitude- Use
{{coord}}with|display=inline,title
- Use
|coordinates_footnotes=footnotes for coordinates|grid_name=|grid_position=|opened=year port was opened|clsoed=year port was closed|passengertraffic=annual number of passengers handled at the port|blankstatstitle1=|blankstats1=|blankstatstitle2=|blankstats2=|blankstatstitle3=|blankstats3=|website=official websiter of the port (please us {{official}})|embedded=
Mapframe params
[edit]- Basic {{Infobox mapframe}} parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- Internal onByDefault parameter: not specified
- 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 d:Property:P625{{Coord|12.34|N|56.78|E}} - 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, most 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-wikidata – Set to
yesto show all shape/line features from OpenStreetMap. Default: not specified
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- Customise which features are displayed:
- mapframe-point – Turn off display of point feature by setting to
none. Force point marker to be displayed by setting toon. Default: not specified - mapframe-shape – Turn off display of shape feature by setting to
none. Force display of shape by setting toon. Use an inverse shape (geomask) instead of a regular shape by setting toinverse. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none. Force display of line by setting toon. 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.
P17for country (P17),P131for located in the administrative territorial entity (P131)). Default: not specified - mapframe-switcher – set to
autoorgeomasksorzoomsto enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto– switch geomasks found in location (P276) and located in the administrative territorial entity (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.geomasks– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3), "zoomed out" is1, and "zoomed midway" is the average
- mapframe-point – Turn off display of point feature by setting to
- 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.1
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
- mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
- mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
- mapframe-line-stroke-width – Width of line features. Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
- Can also be set to
blankto override any default marker symbol
- Can also be set to
- 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: 1
- 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.25
- 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 / not specified / not specified / 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
- mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
- mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified
Tracking category
[edit]Template Data
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See a monthly parameter usage report for Template:Infobox port-of-entry in articles based on its TemplateData.
TemplateData for Infobox port-of-entry No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
