Template:Building address/sandbox
Address
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
- Category:Buildings with addresses - incorrect country code
- Category:Buildings with addresses - country not yet supported
- Category:Buildings with addresses - no country
Usage
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
The template takes no parameters.
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AT | Austria | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ● |
AU | Australia | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ● |
BE | Belgium | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
BG | Bulgaria | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
BR | Brazil | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ● |
CA | Canada | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ● |
CH | Switzerland | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
CN | China | ● | ● | ○ | ● | ● | ○ | ○ | ● | ● | ○ | ● | ● |
CZ | Czech Republic | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
DE | Germany | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ● |
DK | Denmark | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
EE | Estonia | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
ES | Spain | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
FR | France | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ● | ○ |
FI | Finland | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ |
GB | United Kingdom | ● | ● | ○ | ● | ○ | ○ | ○ | ● | ● | ● | ○ | ○ |
GE | Georgia | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
GG | Bailiwick of Guernsey | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
HU | Hungary | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
IN | India | ● | ● | ○ | ● | ● | ○ | ○ | ● | ● | ○ | ○ | ● |
IT | Italy | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ● | ○ |
MC | Monaco | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ |
NL | Netherlands | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
NO | Norway | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
NP | Nepal | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
PL | Poland | ● | ● | ○ | ● | ○ | ● | ● | ○ | ● | ○ | ○ | ● |
PT | Portugal | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
RU | Russia | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ● |
SE | Sweden | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
SG | Singapore | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ |
TR | Turkey | ● | ● | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ● |
TW | Taiwan | ● | ● | ○ | ● | ● | ○ | ○ | ○ | ● | ○ | ○ | ○ |
US | United 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
}}
|
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country | 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. | String | required |
State | State | 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 | Unknown | optional |
Province | Province | When relevant, the ISO 3166-2 code of the administrative division (French département, British County etc., like "State" parameter). | Unknown | optional |
District | District | no description | Unknown | optional |
Suburb | Suburb | no description | Unknown | optional |
City | 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 | Unknown | optional |
Post town | Post town | no description | Unknown | optional |
Street name | Street name | no description | Unknown | optional |
House number | House number | no description | Unknown | optional |
House name | House name | no description | Unknown | optional |
Postal code | Postal code | no description | Unknown | optional |
Conscription number | Conscription number | no description | Unknown | optional |
lang | lang | no description | Unknown | optional |
Gmina | Gmina | no description | Unknown | optional |
Powiat | Powiat | no description | Unknown | optional |
Bare | 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
| Unknown | optional |
Listing | Listing | monument template for a listed building. Caution! monuments templates using wikitables break when they are used here, please fix them beforehand | Template | optional |
References | References | no description | Unknown | optional |
Notes | Notes | For any additional notes | Unknown | optional |