Template talk:Building address

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This is the talk page for discussing improvements to Template:Building address.
Pending tasks for Building address: edit this list - add to watchlist - purge
  • Add formatting for other countries
  • Refine error handling
  • Integrate listed monuments templates to make the whole file description smoother ? Would require to convert them to plain html (see template:Building address/testcases)
  • Integrate coordinates (the type:landmark and the region would be automatically filled)
  • Allow lower cases parameter names for quicker typing ?
  • Add a country flag for quicker identification ?

Edit request: suburb[edit]

{{Edit request}}

For addresses in Germany I miss something like addr:suburb (Ortsteil). --XRay talk 14:08, 26 September 2018 (UTC)[reply]

For the address (with suburb/"Hausanschrift") please look at [1]. --XRay talk 00:24, 29 September 2018 (UTC)[reply]
XRay could you please clarify, where do want the new param? And ping me. --Eatcha (talk) 07:35, 6 November 2019 (UTC)[reply]
@Eatcha: Just a sample:
Any Name
Beuel
Anywhere Road 4711
53123 Bonn

"Beuel" is the name of the suburb. Thank you. --XRay talk 10:55, 6 November 2019 (UTC)[reply]

I think this is not required today at all. Can you share any existing example? I think it could also be written as:
Any Name
Anywhere Road 4711
53123 Bonn-Beuel
but I'd consider that bad style from times when there were 4 digital zip codes years ago. --Krd 12:33, 6 November 2019 (UTC)[reply]
Sorry, no. This is old style and not the new form. --XRay talk 15:31, 4 April 2020 (UTC)[reply]

When the new 5-digit zip codes had been introduced in 1993 the suburb info has in fact become redundant because the triple zipcode-streetname-housenumber is unambiguous. A lot of streets have had to be renamed for to eliminate disambiguations. So the suburb info can be treated as optional. --Achim (talk) 09:31, 8 November 2019 (UTC)[reply]

 Not done because of no consensus. -Green Giant (talk) 20:29, 19 March 2020 (UTC)[reply]

@XRay, Eatcha, Krd, Achim55, and Green Giant: I support the request strongly. At least in Central Europe, a name of the "municipal part" (část obce, Ortsteil) is an integral part of the adress - maybe more essential than the street name (some municipalities have not named streets but all municipalities and cities have named their conscription municipal parts). Where conscription numbers are used as the basic system of house numbering, house numbers are complementary to the name of the municipal part (which is a quarter or a village). When one street in the city crosses more quarters, the street name with the conscription number may be not unique as the adress, the quarter name is necessary. One building can have more adresses (a corner building, a block building or a building with the back facade can be assigned to two or more streets or squares, one building can have more entries with different adresses) but just the conscription number with the quarter name define the building itself unambiguously. As regards output formats, quarter name is usually stated past the city name or municipality name, using a hyphen or a dash. If the municipality have not named streets, the name of the municipal part (a village) is located instead of the street name. Btw., in postal adresses, the name (location) of the post office is more relevant than name of the municipality.

Btw., the form should reflect that there exists more systems of house numbering and more types of house numbers, some of them can be used paralelly. --ŠJů (talk) 22:14, 2 June 2020 (UTC)[reply]

Using the suburb is very recommended. And sorry, the suburb isn't redundant with the 5-digit zipcode. There is a recommendation by the Deutsche Post: [2]. Cite: "Zwischen Straße und Ort steht keine Leerzeile. Eine Ortsteilbezeichnung ist zwischen Name und Straßenbezeichnung anzugeben." In English: "There is no empty line between street and town. A suburb name must be given between the name and street name." The view of postal delivery and the municipal boundaries is different. The Deutsche Post has not coordinated with the municipalities. It often fits, but not always. The suburb should be optional, but it should be possible. So I support ŠJů too. --XRay talk 04:21, 3 June 2020 (UTC)[reply]
For Czechia, the standard format of adress outputs is defined by the § 6 of the Ordinance 359/2011 Sb., about the Basic Register of Territorial Identification, Adresses and Immovable Properties:
a) the first line shall state the name of the street, the conscription or registration number and the orientation number, including the appendix; the orientation number shall be given after the conscription number and separated by a slash,
b) the second line shall state the name of the part of the municipality, in Prague the name of the cadastral area,
c) in the third line, the postal code and the name of the municipality shall be stated; in Prague, the number of the city district shall be given after the name of the municipality.
If it is an address place in an unnamed street, the first line according to letter a) is not stated and the conscription or registration number is given after the name of the part of the municipality.
Name of the part of the municipality according to letter b) shall be stated only if it is not identical with the name of the municipality. If the name of the part of the municipality or the name of the street is not stated, the text "č.p." shall precede the conscription number. The registration number is always preceded by the text "č.ev.".
Examples here. (Standards of the Czech Post are a bit different, obsolete, and not so consisent.)
I assume that each country has its own standard for writing addresses, either precisely defined in this way or at least customary. The Commons template should be as compatible as possible with all standards of various countries. The output can be edited later, but above all, the template should enable to input all the necessary data with appropriate unambiguous and unmistakable names. --ŠJů (talk) 04:54, 3 June 2020 (UTC)[reply]
I would also like to add that as I see this template it should allow a reuser of the media to find the depicted building in the easiest possible way. Even if a specific information is redundant it can be used to assist some individual. And of course, something like this can be used as a "checksum" that helps to validate the address, ensuring that the user who has filled in the address did not make a typo, but actually intended to provide the address in question. ℺ Gone Postal ( ) 11:51, 17 June 2020 (UTC)[reply]

Address format[edit]

Hello! I don't know why, but the address looks like mysterious. Please see File:Beech Forest (AU), Great Otway National Park, Beauchamp Falls -- 2019 -- 1271.jpg. The address: "Beech Forest Category:Victoria 3237 Australien". What's wrong? --XRay talk 15:30, 4 April 2020 (UTC)[reply]

{{Edit request}}

IMO the reason may be an entry in {{ISO 3166-2/AU}}. It should be "Victoria (Australia)" instead of "Victoria". I fixed this, the link is OK now, but now the address contains "Victoria (Australia)" instead of "Australia". Please fix it. Thank you. --XRay talk 04:46, 6 April 2020 (UTC)[reply]

@XRay: You were quite close. The only problem was that Victoria (Australia) is a redirect to Victoria, Australia, and {{City}} doesn’t handle redirects well (it could in theory, but probably that would use too many extra server resources for a template used on 2.3M+ pages). I bypassed the redirect, and it works perfectly now. —Tacsipacsi (talk) 17:33, 8 April 2020 (UTC)[reply]

Conscription and orientation house numbers (CZ, SK)[edit]

The parameters description says about the paramater "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"

This description is mistaken. In Czechia and Slovakia, conscription numbers (popisné číslo, súpisné číslo) are not some optional and additional system of numbering, but the basic system. The conscription numbers is complementary to the name of the "municipal part" ("část obce") and unique within its area. I.e. the name of the municipal part is an integral an logical part of the adress.

What is optional and additional in Czechia and Slovakia is a system of "orientation numbers" - these are used only in some larger cities or municipalites as the second house number, used past the slash (Národní 327/18) and this number os complementary to the name of the street or square. The system of orientation numbers is possible only in such municipalites which have named its streets and squares, but named streets don't imply automatically that orientation numbers are used. Even some larger cities (Zlín, Pardubice, Kladno) don't use orientation numbers.

Generally, every building should have just one conscription number, but can have more orientation numbers and adresses. E.g. the front side of the house can belong to another street than the back side of the same house, or a corner house can have two adresses, or two entries from the same street with two various orientation numbers, but with the same conscription number.

Czechia has another speciality. For some types of buildings (temporary buildings, recreational buildings), the so-called "registration number" (evidenční číslo) is used instead of the "conscription number". On the house, the number is distinguished usually by color or by additional text, or prefis (E-, 0-). In the written adress, it is distinguished by "ev. č." or "če." or with the prefix E or 0. Even some old houses or cottages are renumbered from their original conscription number to the "evidenční" number as they are no longer registered for permanent housing but only for recreation.

I.e., there are two types of house numbers in Slovakia and 3 types in Czechia. Conscription number is the most basic. "evidenční" numbers is it's alternative in some cases. Conscription number is unique for every building within its municipal part. "Orientation" number is an optional addition which can express position of the house toward named streets. One building can have more orientation numbers and can be assigned to more streets and have more adresses, but all adresses of the same buliding contain identical conscription number. --ŠJů (talk) 21:45, 2 June 2020 (UTC)[reply]

Edit request: Suburb[edit]

Sorry, I try to open this request again. (I've got the error message "Error in template * unknown parameter name (Template:Building address): 'Suburb'". So it's still not done.) For German addresses the suburb should be optional, but it should exist. Since our 5-digit Zipcodes some street names exist with the same zip code in different suburbs. Please see [3] (Brief adressieren – so ist es richtig/An eine Hausanschrift) too. The address within Germany has the form

<Name>
<Second line/Name 2>
<Suburb> - if exists
<Street> <House number>
<Zipcode> <City>

Thank you. (Additional informations at OSM: [4]) --XRay 💬 09:39, 17 November 2021 (UTC)[reply]

  • No Problem, error message and suburb not shown:

Address

InfoField
The Building
Kirchspiel
Daldrup 123
48249 Dülmen, North Rhine-Westphalia
Germany

{{Building address |House name=The Building |Street name=Daldrup |House number=123 |Postal code=48249 |City=Dülmen |Suburb=Kirchspiel |State=NW |Country=DE }}

  • Should be something like this:

Address

InfoField
The Building
Kirchspiel
Daldrup 123
48249 Dülmen, North Rhine-Westphalia
Germany

@XRay: ✓[OK] I added param Suburb (note the capitalized "S"). Marking as done. Please {{Ping}} me or any other TPE should you encounter any problem. NguoiDungKhongDinhDanh Name me 02:23, 19 November 2021 (UTC)[reply]

@NguoiDungKhongDinhDanh: Thank you very much. Sorry, but the position should be first suburb and second street and house number. Could you please fix the position? Thank you. --XRay 💬 04:47, 19 November 2021 (UTC)[reply]
... and: Please add "Suburb" to the possible parameters to avoid the error message. --XRay 💬 05:31, 19 November 2021 (UTC)[reply]
Here: {{#invoke:TemplatePar|check

|opt=Street name= House number= House name= Conscription number= Postal code= City= State= Country= Listing= Bare= Suburb= Notes= Powiat= Province= District= Post town= Gmina= Other= References= |cat=Pages using Building address template with incorrect parameter |errNS=6 10 |template=[[Template:Building address]] }}

@XRay: Moved Suburb above Street. Sorry for not getting to it before it was already done. ℺ Gone Postal ( ) 16:11, 19 November 2021 (UTC)[reply]
@Gone Postal: Thank you. Please have a look to the parameter check. Suburb is missing and this causes an error message. --XRay 💬 16:15, 19 November 2021 (UTC)[reply]
This is the missing edit:

{{#invoke:TemplatePar|check
|opt=Street name= House number= House name= Conscription number= Postal code= City= State= Country= Listing= Bare= Suburb= Notes= Powiat= Province= District= Post town= Gmina= Other= References=
|cat=Pages using Building address template with incorrect parameter
|errNS=6 10
|template=[[Template:Building address]]
}}
Please add the missing parameter "Suburb=". Thank you. --XRay 💬 16:54, 19 November 2021 (UTC) I'll add a new edit request for the fix. --XRay 💬 17:00, 19 November 2021 (UTC)[reply]

Edit request: TemplatePar/check[edit]

I'll add a new request for the missing parameter check. The parameter "suburb" was added, but updating the parameter check was forgotten. Please add the possible parameter to the check. This is the edit:

{{#invoke:TemplatePar|check
|opt=Street name= House number= House name= Conscription number= Postal code= City= State= Country= Listing= Bare= Suburb= Notes= Powiat= Province= District= Post town= Gmina= Other= References=
|cat=Pages using Building address template with incorrect parameter
|errNS=6 10
|template=[[Template:Building address]]
}}

Thank you. --XRay 💬 17:00, 19 November 2021 (UTC)[reply]

@XRay: ✓[OK] Done. Somehow I didn't get the tag. NguoiDungKhongDinhDanh Name me 21:40, 19 November 2021 (UTC)[reply]

Edit request[edit]

{{Edit request}}

Danish addresses have the city name twice without separator, please be so kind and fix it. If you wish an example, please: File:Kopenhagen (DK), Runder Turm -- 2017 -- 1614.jpg. Thank you. --XRay 💬 17:44, 11 February 2022 (UTC)[reply]

Copied example (in German):

Rundetårn
Købmagergade 52A
1150 KopenhagenKopenhagen
Dänemark

--XRay 💬 17:45, 11 February 2022 (UTC)[reply]

  • ✓ Done Thanks for the request, I have removed the duplication. The file page is still broken, but it will be fixed as soon as MW software will have a chance to update the cache. If you edit and with no changes do a preview it is showing the correct address already. Please check on other pages and if there are any issues make a request. ℺ Gone Postal ( ) 06:01, 12 February 2022 (UTC)[reply]

Edit request[edit]

{{Edit request}}

At addresses of Czechia a part of a comment sign occurs. Something like this:

Karlův most
-->110 00 Praha 1
Tschechien

Seen at File:Prag, Karlsbrücke, Johannes Nepomuk -- 2019 -- 6567.jpg. Thanks for fixing. --XRay 💬 08:43, 16 May 2022 (UTC)[reply]

Fixed with this edit. A <!-- was missing. Best, --Marsupium (talk) 11:50, 16 May 2022 (UTC)[reply]

Washington (state) wrong link[edit]

{{Edit request}}

Please see the example File:Seattle (WA, USA), Monorail station "Westlake Center" -- 2022 -- 1483.jpg. "WA" as state should link to something like "Washington (state)", not "Washington".

Current result:

Monorail station “Westlake Center”
1601 5th Ave
Seattle, Category:Washington
98101
Vereinigte Staaten

Please fix it. Thank you. --XRay 💬 07:19, 1 August 2022 (UTC)[reply]

Fixed. Another template ({{ISO 3166-2/US}}) was wrong. --XRay 💬 07:30, 1 August 2022 (UTC)[reply]

Table tag missing when this template is used on Category pages[edit]

When this template is used on Category pages such as Category:Kasteel Montfoort, it begins with a ‎<tr> tag instead of a ‎<table> tag. This causes pages to be placed in Linter error categories.

I have suggested a simple fix at {{Building address/layout/sandbox}}, and I tested it at Special:ExpandTemplates. It appears to work as intended, inserting table tags only in Category space. Jonesey95 (talk) 00:55, 25 October 2022 (UTC)[reply]

✓ Done —‍Mdaniels5757 (talk • contribs) 02:14, 25 October 2022 (UTC)[reply]

Postal code missing for Greek addresses[edit]

It is requested that an edit or modification be made to this protected page.
Administrators/template editors: Please apply <nowiki> or {{Tl}} to the tag after the request is fulfilled.

XRay

Please add the postal code for Greek addresses. Thank you. --XRay 💬 11:03, 5 October 2023 (UTC)[reply]

Postal code missing for Luxembourg addresses[edit]

It is requested that an edit or modification be made to this protected page.
Administrators/template editors: Please apply <nowiki> or {{Tl}} to the tag after the request is fulfilled.

XRay

Please add the postal code for Luxembourg addresses. Thank you. --XRay 💬 20:19, 15 November 2023 (UTC)[reply]