Template:Infobox urban feature/doc: Difference between revisions
(Undid revision 1178222029 by CommonsDelinker (talk) image restored locally) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:12, 15 February 2024
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
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}}}|class=notpageimage]]Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Coordinates ({{{coor_pinpoint}}}): Lua error: callParserFunction: function "#coordinates" was not found.{{{coordinates_footnotes}}} | |
Website | {{{website}}} |
{{{footnotes}}} |
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox urban feature/doc |
---|
</syntaxhighlight>
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 | |
Design | Viljo Revell |
Opening date | 1965 |
Owner | City of Toronto |
Location | Bay Street and Queen Street Toronto, ON, Canada |
Location of Nathan Phillips Square in Toronto | |
Coordinates: Lua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value). |
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space: pre-wrap;">
Nathan Phillips Square | |
---|---|
City square | |
View of Nathan Phillips Square | |
Design | Viljo Revell |
Opening date | 1965 |
Owner | City of Toronto |
Location | Bay Street and Queen Street Toronto, ON, Canada |
Location of Nathan Phillips Square in Toronto | |
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. |
</syntaxhighlight>
Example 2
Potemkin Steps | |
---|---|
Stairs | |
Ukrainian: Потьомкінські східці | |
Potemkin Stairs in Odesa, Ukraine. The higher perspective allows a person to see both the stairs and landings. Potemkin Stairs in Odesa, 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 | Odesa, Ukraine |
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. |
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space: pre-wrap;">
Potemkin Steps | |
---|---|
Stairs | |
Ukrainian: Потьомкінські східці | |
Potemkin Stairs in Odesa, Ukraine. The higher perspective allows a person to see both the stairs and landings. Potemkin Stairs in Odesa, 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 | Odesa, Ukraine |
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. |
</syntaxhighlight>
Example 3
Seoul Plaza | |
---|---|
Public square | |
Korean transcriptions | |
Hangul | 서울광장 |
Hanja | 서울廣場 |
Revised Romanization | Seoul gwangjang |
McCune–Reischauer | Sŏul kwangjang |
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. |
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space: pre-wrap;">
Seoul Plaza | |
---|---|
Public square | |
Korean transcriptions | |
Hangul | 서울광장 |
Hanja | 서울廣場 |
Revised Romanization | Seoul gwangjang |
McCune–Reischauer | Sŏul kwangjang |
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. |
</syntaxhighlight>
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