This page is protected against editing.

Template:Building address

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Address
InfoField
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Building address/doc.

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:

Usage

{{Building address
 |Street name  =
 |House number =
 |Postal code  =
 |City         =
 |State        =
 |Country      =
}}

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

ParameterDescriptionDefaultStatus
Street nameThe 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:addremptyoptional
House numberThe 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:addremptyoptional
House nameIn 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:addremptyoptional
Conscription numberIn 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:addremptyoptional
Postal codeThe 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:addremptyoptional
CityThe 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:addremptyoptional
ProvinceWhen relevant, the ISO 3166-2 code of the administrative division (French département, British County etc., like "State" parameter).emptyoptional
StateWhen relevant, the name of the State in which the building address is located. The name shall be given in the language of the place (e.g. North Carolina or Niedersachsen), or better as ISO 3166-2 code (if supported, s. table below). In places without federal structure, were no applicable state entities are available, this field can be left blank. For further reference see also the OSM project page for addresses: Key:addremptyoptional
CountryThe country, represented in one of three forms (any case can be used):
  1. The ISO 3166-1 alpha-2 two letter country code (Example: "CN" for China, "DE" for Germany, "GB" (not "UK") for Great Britain/United Kingdom, "US" for the United States)
  2. The ISO 3166-1 alpha-3 three-letter country code (Example: "CHN" for China, "DEU" for Germany, "GBR" for Great Britain/United Kingdom, "USA" for the United States)
  3. The full name of the country's main category (Examples: "China", "Germany", "United Kingdom", "United States")
emptyrequired
Listingmonument template for a listed building. Caution! monuments templates using wikitables break when they are used here, please fix them beforehandemptyoptional
Bareset 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 templateemptyoptional
SuburbFor the suburbemptyoptional
NotesFor any additional notesemptyoptional

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)

Parameter used for each country

Each different country have a different format of the address and might require unique parameters. See table below

Country
[code]
Country
name
Street
Name
House
number
Conscription
number
Notes District Gmina Powiat Postal
code
City Post
town
Province
/Region
State
ATAustria
AUAustralia
BEBelgium
BGBulgaria
BRBrazil
CACanada
CHSwitzerland
CNChina
CZCzech Republic
DEGermany
DKDenmark
EEEstonia
ESSpain
FRFrance
FIFinland
GBUnited Kingdom
GEGeorgia
GGGuernsey
HUHungary
INIndia
ITItaly
MCMonaco
NLNetherlands
NONorway
NPNepal
PLPoland
PTPortugal
RURussia
SESweden
SGSingapore
TRTurkey
TWTaiwan
USUnited States of America
other

Example usage

Code Result
{{Information
 | Description = Example
  {{Building address
  | Street name = Niederkirchnerstraße
  | House number = 5
  | House name =
  | Conscription number =
  | Postal code = 10117
  | City = Berlin
  | State = BE
  | Country = DE
  }}
 | Source = Example
 | Author = Example
}}
Description

Example

Address
InfoField
Niederkirchnerstraße 5
10117 Berlin
Germany
Source Example
Author Example

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. 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[Edit template data]

ParameterDescriptionTypeStatus
CountryCountry

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.

Stringrequired
StateState

When relevant, the name of the State in which the building address is located. The name shall be given in the language of the place (e.g. North Carolina or Niedersachsen), or better as ISO 3166-2 code (if supported, s. table below). In places without federal structure, were no applicable state entities are available, this field can be left blank. For further reference see also the OSM project page for addresses: Key:addr

Unknownoptional
ProvinceProvince

When relevant, the ISO 3166-2 code of the administrative division (French département, British County etc., like "State" parameter).

Unknownoptional
DistrictDistrict

no description

Unknownoptional
SuburbSuburb

no description

Unknownoptional
CityCity

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

Unknownoptional
Post townPost town

no description

Unknownoptional
Street nameStreet name

no description

Unknownoptional
House numberHouse number

no description

Unknownoptional
House nameHouse name

no description

Unknownoptional
Postal codePostal code

no description

Unknownoptional
Conscription numberConscription number

no description

Unknownoptional
GminaGmina

no description

Unknownoptional
PowiatPowiat

no description

Unknownoptional
BareBare

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

Suggested values
1
Unknownoptional
ListingListing

monument template for a listed building. Caution! monuments templates using wikitables break when they are used here, please fix them beforehand

Templateoptional
ReferencesReferences

no description

Unknownoptional
NotesNotes

For any additional notes

Unknownoptional