Template:Building address/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Template Code:

{{Building address
| Street name = 
| House number =
| House name =
| Postal code = 
| City =
| State = <!-- US State, Bundesland etc. ISO 3166-2 preferred -->
| Country = 
| Listing = <!-- for heritage buildings-->
| Notes = <!--For additional notes-->
}}

This template is intended for adding building addresses to pictures of buildings and streets in a standardized machine-readable format. The intention is to facilitate a search for all pictures of buildings at a certain address, or for building photos in a certain street, or postal code area. The parameters are the same as used in the OpenStreetMap-Project to describe addresses, with the intention to allow cross-referencing pictures to map data, and are only shown if they are filled in.

Note: For many media it is desirable to use a {{Location}} template in addition to the {{Building address}} template.

The template automatically sets the following categories: Category:Buildings with addresses

Usage

{{Building address |Street name= |House number= |House name= |Conscription number= |Postal code= |City= |State= |Country= |Listing= |Bare= |Notes= }}

This template shall be added within the template {{Information}}, within the parameter description, at the bottom. For an example of the placement, see the following file: File:Berlin Abgeordnetenhaus 1900.jpg

Template parameters

Parameter Description Default Status
Street name The street name of the building as it is given in the language of the place, e.g. Löwengasse. For further reference see also the OSM project page for addresses: Key:addr empty optional
House number The house number of the depicted building, e.g. 12c or 64, as it appears on the number plate. If several buildings are shown, list all the housenumbers, divided by Kommata, e.g. 64,66. The same goes if one building has multiple numbers. For further reference see also the OSM project page for addresses: Key:addr empty optional
House name In some places like England, house names are used instead of or in addition to housenumbers. If not available, this field can be left blank. For further reference see also the OSM project page for addresses: Key:addr empty optional
Conscription number In some places like Czech republic, buildings have an official conscription numbering system, instead of or in addition of house numbers. If not available, this field can be left blank. For further reference see also the OSM project page for addresses: Key:addr empty optional
Postal code The postal code (ZIP code) of the area. Helps to identify the place, especially in cases were there are multiple cities/towns in one country with the same name (e.g. multiple Allendorf in Germany. For further reference see also the OSM project page for addresses: Key:addr empty optional
City The name of the city/place that goes along with the postal code. For example the building is in the village of Krofdorf-Gleiberg, but the postal code area is called Wettenberg. The correct City parameter is then Wettenberg, because in the postal code area of Wettenberg, there is (usually) only one street with this particular street name. For further reference see also the OSM project page for addresses: Key:addr empty optional
State When relevant (German name preferred for Germany and Austria) empty optional
Country The ISO 3166-1 alpha-2 two letter country code in upper case.

Example: "DE" for Germany, FR for France, IT for Italy, US for USA.

Attention: The ISO 3166-1 code for Great Britain is GB and not UK. The linked Wikipedia article has a list of applicable country codes.
empty required
Listing monument template for a listed building. Caution! monuments templates using wikitables break when they are used here, please fix them beforehand empty optional
Bare set to 1 if you dont want the building to be appear in a separate information field (eg. can be used in the "location" parameter of an institution template empty optional
Notes For any additional notes empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Example usage

{{Building address | Street name = Niederkirchnerstraße | House number = 5 | House name = | Conscription number = | Postal code = 10117 | City = Berlin | State = BE | Country = DE }}

The code above produces the following information table:

Address
Niederkirchnerstraße 5
10117 Berlin
Germany