Difference between revisions of "Template:Infobox urban feature"
imported>Blaixx (removed colons after infobox parameters) |
imported>Sky Harbor (Add colons to nickname and former name parameters) |
||
| Line 23: | Line 23: | ||
<!-- ***Nickname*** --> | <!-- ***Nickname*** --> | ||
| rowclass3 = mergedrow | | rowclass3 = mergedrow | ||
| − | | data3 = {{#if:{{{nickname|}}}|[[Nickname]](s) <span class="nickname">{{{nickname}}}</span>}} | + | | data3 = {{#if:{{{nickname|}}}|[[Nickname]](s): <span class="nickname">{{{nickname}}}</span>}} |
| rowclass4 = {{#if:{{{nickname|}}}{{both|{{{ind_name_lang|}}}|{{{ind_name|}}}}}{{both|{{{name|}}}|{{{other_names|}}}}}|mergedrow}} | | rowclass4 = {{#if:{{{nickname|}}}{{both|{{{ind_name_lang|}}}|{{{ind_name|}}}}}{{both|{{{name|}}}|{{{other_names|}}}}}|mergedrow}} | ||
| − | | data4 = {{#if:{{{former_names|}}}|Former name(s) <span class="nickname">{{{former_names}}}</span>}} | + | | data4 = {{#if:{{{former_names|}}}|Former name(s): <span class="nickname">{{{former_names}}}</span>}} |
<!-- ***Skyline Image*** --> | <!-- ***Skyline Image*** --> | ||
Latest revision as of 06:57, 7 April 2020
| Template:PAGENAMEBASE |
|---|
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
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.
Contents
Blank Template
Template:Parameter names example
{{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 | |
![]() | |
| Design | Viljo Revell |
| Opening date | 1965 |
| Owner | City of Toronto |
| Location | Bay Street and Queen Street Toronto, ON, Canada |
| Template:Superimpose Location of Nathan Phillips Square in Toronto | |
| Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. | |
{{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. | |
| Design | F. Boffo, Avraam I. Melnikov and Pot'e |
| Construction | 1837–1841 |
| Opening date | 1841 |
| Location | Odessa, 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 Romanization | Template:Transl |
| McCune–Reischauer | Template:Transl |
| [[Category:Infobox templates|Template:Remove first word]] | |
| View of Seoul Plaza View of Seoul Plaza | |
| Features | fountain, ice rink |
| Opening date | May 1, 2004 |
| Area | 3,995 pyeong (1.321 ha) |
| Surface | grass |
| Owner | Seoul Metropolitan Government |
| Location | Taepyeongno, 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
TemplateData for Infobox urban feature
urban features (public squares, public fountains, stairs)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | 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. | String | optional |
| native_name | native_name | This will display under the name/official name | String | optional |
| native_name_lang | native_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. | String | optional |
| ind_name | ind_name | Indigenous name - the name of the feature in the language native to the area | String | optional |
| ind_name_lang | ind_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. | String | optional |
| place_type | place_type | Any type can be entered, such as Public Square, Stairs, etc. | String | optional |
| image_place | image_place | Despite the name it can be any image that an editor wishes. | String | optional |
| imagesize | imagesize | 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. | String | optional |
| image_alt | image_alt | Alt text for the image, used by visually impaired readers who cannot see the image. | String | optional |
| image_caption | image_caption | Will place a caption under the image_place (if present) | String | optional |
| nickname | nickname | well-known nickname(s) | String | optional |
| motto | former_names | Former names | String | optional |
| image_map | image_map | String | optional | |
| mapsize | mapsize | If used, 'px' must be specified; default is 250px. | String | optional |
| map_alt | map_alt | Alt text for map. | String | optional |
| map_caption | map_caption | no description | String | optional |
| pushpin_map | pushpin_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 | String | optional |
| pushpin_label_position | pushpin_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''. | String | optional |
| pushpin_map_alt | pushpin_map_alt | Alt text for pushpin map. | String | optional |
| pushpin_mapsize | pushpin_mapsize | Must be entered as only a number - do not use px. The default value is 250. | Number | optional |
| pushpin_map_caption | pushpin_map_caption | Fill out if a different caption from ''map_caption'' is desired. | String | optional |
| pushpin_relief | pushpin_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). | String | optional |
| Coordinates | coordinates | Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage.
| Template | optional |
| coor_pinpoint | coor_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 | String | optional |
| coordinates_footnotes | coordinates_footnotes | Reference(s) for coordinates, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}} | String | optional |
| designer | designer | String | optional | |
| construction | construction | String | optional | |
| complete | complete | String | optional | |
| open | open | String | optional | |
| cost | cost | String | optional | |
| steps | steps | String | optional | |
| height | height | String | optional | |
| amenities | amenities | String | optional | |
| area | area | String | optional | |
| surface | surface | String | optional | |
| dedicated_to | dedicated_to | String | optional | |
| owner | owner | String | optional | |
| manager | manager | String | optional | |
| location | location | String | optional | |
| address1 | address1 | String | optional | |
| address2 | address2 | String | optional | |
| website | website | External link to official website, Use the {{URL}} template, thus: {{URL|example.com}} | String | optional |
| footnotes | footnotes | Text to be displayed at the bottom of the infobox. | String | optional |
Tracking category
| The above documentation is transcluded from Template:Infobox urban feature/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |

