Template:Infobox urban feature/doc: Difference between revisions

Jump to navigation Jump to search
en>TerraCyprus
(geography is a science concerned with places and processes, this infobox is to be used on articles about specific places)
 
m (1 revision imported)
 

Latest revision as of 23:16, 20 October 2020

This infobox is designed to put basic factual information, an image and optionally a map in an organized fashion for an 'urban feature', which is essentially anything from a public square to a public staircase, into an infobox. The infobox helps to give details to the reader in a straightforward standard manner.

Blank Template

{{{name}}}
{{{native_name}}}
{{{place_type}}}
{{{other_names}}}
{{{ind_name_lang}}}: {{{ind_name}}}
Nickname(s): {{{nickname}}}
Former name(s): {{{former_names}}}
[[File:{{{image_place}}}|{{{imagesize}}}|alt={{{image_alt}}}|{{{image_caption}}}]]
{{{image_caption}}}
[[File:{{{image_oth}}}|250px]]
Features{{{features}}}
Design{{{designer}}}
Builder{{{builder}}}
Construction{{{construction}}}
Completion{{{complete}}}
Opening date{{{open}}}
Cost{{{cost}}}
Steps{{{steps}}}
Height{{{height}}}
Length{{{length}}}
Dimensions{{{dimensions}}}
Amenities{{{amenities}}}
Area{{{area}}}
Surface{{{surface}}}
Architectural style{{{architectural_style}}}
Dedicated to{{{dedicated_to}}}
Owner{{{owner}}}
Manager{{{manager}}}
Location{{{location}}}
Address{{{address1}}}
{{{address2}}}
[[File:{{{image_map}}}|{{{mapsize}}}|alt={{{map_alt}}}|{{{map_caption}}}]]
{{{map_caption}}}
[[File:{{{pushpin_image}}}|250px|{{{pushpin_map_alt}}}]]Lua error in Module:Location_map at line 408: Malformed coordinates value.
{{{pushpin_map_caption}}}
Coordinates ({{{coor_pinpoint}}}): Lua error: callParserFunction: function "#coordinates" was not found.{{{coordinates_footnotes}}}
Website{{{website}}}
{{{footnotes}}}
{{Infobox urban feature
| name =
| native_name =
| native_name_lang =
| place_type =
| other_names =
| ind_name_lang =
| ind_name =
| nickname =
| former_names =
| image_place =
| imagesize =
| image_alt =
| image_caption =
| image_oth =
| features =
| designer =
| builder =
| construction =
| complete =
| open =
| cost =
| steps =
| height =
| length =
| dimensions =
| amenities =
| area =
| surface =
| architectural_style =
| dedicated_to =
| owner =
| manager =
| location =
| address1 =
| address2 =
| image_map =
| mapsize =
| map_alt =
| map_caption =
| pushpin_map =
| pushpin_map_alt =
| pushpin_mapsize =
| pushpin_relief =
| pushpin_image =
| pushpin_label_position =
| pushpin_label =
| coordinates =
| pushpin_map_caption =
| coor_pinpoint =
| coor_type =
| coordinates_footnotes =
| website =
| footnotes =
}}

Fields

Field Description
name Name of urban feature
other_names Other names, including in other languages
former_names Former names, including in other languages
nickname Nickname of feature
image_place Image of place to use as primary
image_caption Caption below image
ind_name_lang Indigenous name's language - a link to the language
ind_name Indigenous name - the name of the feature in the language native to the area
place_type Type of urban feature
designer Designer of urban feature
open Opening date
features Features
construction Construction period
cost Cost of construction
owner Owner of feature
manager Manager of feature, for example a board of management
steps Number of steps (for staircases)
amenities Amenities of facility
area Area of feature (for example, public squares)
dedicated_to Name of person or reason for naming of feature
surface Surface material, e.g. granite, concrete
Location and address
Location local location
address1 First line of address. If used, adds box below description.
address2 Second line of address. If used without address1, is displayed as second line of location.
Push Pin map parameters
pushpin_map Name of pushpin map (without prefix or suffix)
pushpin_map_caption Text to display below push pin map
Map image parameters
image_map Filename of a map to use
map_caption Caption for the map
Parameters for latitude and longitude of feature
coordinates Coordinates using the {{coord}} template

Korean transcriptions

To add Korean name transcriptions, use {{Infobox Korean name}} with |child=yes (see, for example, Example 3).

Example articles

Example articles include Potemkin Stairs, Nathan Phillips Square, Yonge-Dundas Square and Baldwin Steps.

Example 1

Nathan Phillips Square
City square
View of Nathan Phillips Square
DesignViljo Revell
Opening date1965
OwnerCity of Toronto
LocationBay Street and Queen Street
Toronto, ON, Canada

Location of Nathan Phillips Square in Toronto
Coordinates: Lua error in Module:Coordinates at line 492: attempt to index field 'wikibase' (a nil value).
{{Infobox urban feature
| name        = Nathan Phillips Square
| image_place = Toronto - ON - Rathaus und Nathan Phillips Square.jpg
| image_map   = {{superimpose
 |base = To-locator-map.png
 |base_width = 275px
 |base_caption = Nathan Phillips Square
 |float = Red pog.svg
 |float_width = 9px
 |x = 112
 |y = 91
 }}
| map_caption = Location of Nathan Phillips Square in Toronto
| coordinates = {{coord|43|39|9|N|79|23|1|W}}
| location    = Bay Street and Queen Street
| address2    = [[Toronto]], [[Ontario|ON]], [[Canada]]
| place_type  = City square
| owner       = City of Toronto
| designer    = [[Viljo Revell]]
| open        = 1965
}}

Example 2

Potemkin Steps
Stairs
Ukrainian: Потьомкінські східці
Potemkin Stairs in Odessa, Ukraine. The higher perspective allows a person to see both the stairs and landings.
Potemkin Stairs in Odessa, Ukraine. The higher perspective allows a person to see both the stairs and landings.
DesignF. Boffo, Avraam I. Melnikov and Pot'e
Construction1837–1841
Opening date1841
LocationOdessa, Ukraine
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found.
{{Infobox urban feature
| name          = Potemkin Steps
| image_place   = Potěmkinovy schody.jpg
| image_caption = Potemkin Stairs in [[Odessa, Ukraine]]. The higher perspective allows a person to see both the stairs and landings.
| other_names   = {{lang-uk|Потьомкінські східці}}
| location      = [[Odessa]], [[Ukraine]]
| address2      = 
| owner         = 
| coordinates   = {{coord|46|29|21|N|30|44|36|E}}
| place_type    = [[Stairs]]
| construction  = 1837–1841
| open          = 1841
| height        = 
| manager       = 
| designer      = F. Boffo, [[Avraam I. Melnikov]] and Pot'e
| website       = 
}}

Example 3

Seoul Plaza
Public square
Korean transcriptions
Hangul
서울광장
Hanja
서울廣場
Revised RomanizationSeoul gwangjang
McCune–ReischauerSŏul kwangjang
View of Seoul Plaza
View of Seoul Plaza
Featuresfountain, ice rink
Opening dateMay 1, 2004
Area3,995 pyeong (1.321 ha)
Surfacegrass
OwnerSeoul Metropolitan Government
LocationTaepyeongno, Jung-gu
Seoul, South Korea
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found.
{{Infobox urban feature
| name          = Seoul Plaza
| image_place   = Seoul Plaza 2010.jpg
| image_caption = View of Seoul Plaza
| place_type    = [[Public square]]<!--
-->{{Infobox Korean name
| child      = yes
| koreanname = Korean transcriptions
| hangul     = 서울광장
| hanja      = 서울廣場
| rr         = Seoul gwangjang
| mr         = Sŏul kwangjang
}}
| features      = [[fountain]], [[ice rink]]
| surface       = [[grass]] 
| location      = [[Taepyeongno]], [[Jung-gu, Seoul|Jung-gu]]
| address2      = [[Seoul]], [[South Korea]]
| owner         = [[Seoul Metropolitan Government]]
| coordinates   = {{coord|37|33|56|N|126|58|41|E|region:KR_type:landmark}}
| construction  = 
| open          = May 1, 2004
| height        = 
| maint         = 
| designer      = 
| area          = {{convert|3995|pyeong|ha}}
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox urban feature

urban features (public squares, public fountains, stairs)

Template parameters

ParameterDescriptionTypeStatus
namename

This is the usual name in English. If it's not specified, the infobox will use the 'official_name' as a title unless this too is missing, in which case the page name will be used.

Stringoptional
native_namenative_name

This will display under the name/official name

Stringoptional
native_name_langnative_name_lang

Use ISO 639-2 code, e.g. 'fr' for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.

Stringoptional
ind_nameind_name

Indigenous name - the name of the feature in the language native to the area

Stringoptional
ind_name_langind_name_lang

Use ISO 639-2 code, e.g. 'fr' for French. If there is more than one indigenous name, in different languages, enter those names using {{lang}}, instead.

Stringoptional
place_typeplace_type

Any type can be entered, such as Public Square, Stairs, etc.

Stringoptional
image_placeimage_place

Despite the name it can be any image that an editor wishes.

Stringoptional
imagesizeimagesize

Can be used to tweak the size of the image_place up or down. This can be helpful if an editor want to make the infobox wider. If used, 'px' must be specified; default size is 250px.

Stringoptional
image_altimage_alt

Alt text for the image, used by visually impaired readers who cannot see the image.

Stringoptional
image_captionimage_caption

Will place a caption under the image_place (if present)

Stringoptional
nicknamenickname

well-known nickname(s)

Stringoptional
mottoformer_names

Former names

Stringoptional
image_mapimage_map

Stringoptional
mapsizemapsize

If used, 'px' must be specified; default is 250px.

Stringoptional
map_altmap_alt

Alt text for map.

Stringoptional
map_captionmap_caption

no description

Stringoptional
pushpin_mappushpin_map

The name of a location map (e.g. 'Indonesia' or 'Russia'). The coordinate fields (e.g. 'latd' and 'longd') position a pushpin coordinate marker and label on the map 'automatically'. Example see: Padang, Indonesia

Stringoptional
pushpin_label_positionpushpin_label_position

The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is ''right''.

Stringoptional
pushpin_map_altpushpin_map_alt

Alt text for pushpin map.

Stringoptional
pushpin_mapsizepushpin_mapsize

Must be entered as only a number - do not use px. The default value is 250.

Numberoptional
pushpin_map_captionpushpin_map_caption

Fill out if a different caption from ''map_caption'' is desired.

Stringoptional
pushpin_reliefpushpin_relief

Set this to 'y' or any non-blank value to use an alternative relief map provided by the selected location map (if a relief map is available).

Stringoptional
Coordinatescoordinates

Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage.

Example
{{coord|41|50|15|N|87|40|55|W}}
Templateoptional
coor_pinpointcoor_pinpoint

If needed, to specify more exactly where (or what) coordinates are given (e.g. 'Town Hall') or a specific place in a larger area (e.g. a city in a county). Example: Masovian Voivodeship

Stringoptional
coordinates_footnotescoordinates_footnotes

Reference(s) for coordinates, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}

Stringoptional
designerdesigner

Stringoptional
constructionconstruction

Stringoptional
completecomplete

Stringoptional
openopen

Stringoptional
costcost

Stringoptional
stepssteps

Stringoptional
heightheight

Stringoptional
amenitiesamenities

Stringoptional
areaarea

Stringoptional
surfacesurface

Stringoptional
dedicated_todedicated_to

Stringoptional
ownerowner

Stringoptional
managermanager

Stringoptional
locationlocation

Stringoptional
address1address1

Stringoptional
address2address2

Stringoptional
websitewebsite

External link to official website, Use the {{URL}} template, thus: {{URL|example.com}}

Stringoptional
footnotesfootnotes

Text to be displayed at the bottom of the infobox.

Stringoptional

Tracking category