This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 25 | ← | Archive 27 | Archive 28 | Archive 29 | Archive 30 | Archive 31 | → | Archive 33 |
If you take a look at the article for Szlagnowo, it currently has a short description of "Village in Pomeranian, Poland". This is ungrammatical and incorrect; it should read either "Village in Pomeranian Voivodeship, Poland" or "Village in Pomeranian Province, Poland". Since there isn't a short description template in the article, I imagine it's generated by the infobox template {{ Infobox settlement}}. Is there some way I can help with fixing this? -- The Anome ( talk) 20:09, 3 August 2019 (UTC)
I can think of several different quick ways to fix this, of varying degrees of hackiness, but I'd like to do something maintainable rather than a hack. Perhaps passing in more parameters to the module, providing it with the types of subdivision as well as the names, might be the way to go -- it could also be backward compatible, if necessary. I can also see that this could possibly be useful for naming conventions in other countries. @ Galobtter: is this something you could advise me on? -- The Anome ( talk) 21:06, 3 August 2019 (UTC)
|county = [[Lancaster County, Nebraska|Lancaster]]
, and the code then has the choice to extract the link name to use for the short description. --
RexxS (
talk) 16:34, 6 August 2019 (UTC)
where space is at premium, see Rio Branco, Acre: Region = North, not Region = North Region. The inclusion of the type name seems to be managed differently between sets of articles, or maybe even within such sets. TerraCyprus ( talk) 17:00, 6 August 2019 (UTC)
|subdivision_name1 = [[North Region, Brazil|North]]
, so the full link name is given (but not displayed), just as I said above. --
RexxS (
talk) 17:07, 6 August 2019 (UTC)
Do you disagree with the principle of inputting clean data and keeping subsequent programming simple?- No, do you?
The Polish data is not clean, because we are using a made-up translation of województwo pomorskie where someone has chosen to use the adjective "Pomeranian", rather than the more usual noun "Pomerania".- Even if your statement would be true, you have not shown that adjectives are never "usual". Re " List of placenames in the Province of Pomerania" - that is not for the voivodeship, but for an entity of the German Empire, for which the English Wikipedia has the article at Nazi Germany. TerraCyprus ( talk) 18:38, 6 August 2019 (UTC)
"The lists include: name; ... Gemeinde (German municipality) today; Amt (German district) today; Landkreis (German county) today; Polish name today (if east of the Oder-Neisse line); Gmina (Polish municipality, if east of the Oder-Neisse line) today; Powiat (Polish county, if east of the Oder-Neisse line) today.The specific list, List of municipalities in the Province of Pomerania, A–Z which has column headings for "Polish name today", etc. I'm pretty sure we are using "Province of Pomerania" to include województwo pomorskie in those cases. It's just a pity we don't use the same formula elsewhere. -- RexxS ( talk) 21:02, 6 August 2019 (UTC)
If you agree with the principle, why are you arguing against it?I am not, please be more careful if you accuse others.
Where are your other examples of a subdivision of a country being referred to in English as an adjective?... in the short form... Province : Western. TerraCyprus ( talk) 21:44, 6 August 2019 (UTC)
{{
Infobox settlement}} at
Ciechanowiec is displaying "Lua error in Module:Settlement_short_description at line 101: bad argument #1 to 'find' (string expected, got nil)." That is because at line 101 of
Module:Settlement short description, x is 2 and subdivision_names[2] is nil. There are various ways to fix that, the best of which presumably would be to fix the article so its parameters are correct. However, it would be nice if the module handled the situation with a more meaningful result. Sorry I haven't got time to investigate further.
Galobtter might be best to fix it. BTW, the new p.assign
function should use local
for val
and var
. Is p.assign
intended to be used from outside the module? If not, I would make the function local (remove p.
).
Johnuniq (
talk) 07:40, 21 August 2019 (UTC)
as this seems to be the only article affected (per search)How did you search for this? TerraCyprus ( talk) 11:55, 22 August 2019 (UTC)
There are
Galobtter: Why are there that many items in the category? And why are you circumventing your own code in the Alabama article? [1].
Does central management of the short descriptions for articles that use {{ Infobox settlement}} make them more consistent? Why not for U.S. states? TerraCyprus ( talk) 09:43, 20 August 2019 (UTC)
Findings: All items in the tracking category that I checked had a type that looked fine to me and each was composed, e.g. "neigborhood of ...", "district of ...", i.e. more accurate than in many infoboxes. Something isn't just of type "state", but it is a U.S. state, or a Mexican or Brazilian state. Even more diverse might be the things translated as "district". In many cases the type is linked to an article providing more information about the type, if the label is only "district" the reader may expect a general article about "district" not about districts of India. TerraCyprus ( talk) 10:02, 20 August 2019 (UTC)
The code doesn't always generate the best possible description, so overriding it is necessary.- Maybe improve the code if it fails on the not that obscure U.S. states?
my view having "neightborhood of ..." etc is redundant and pollutes the field- on what is your view based? d:Propert:P31 also stores the real type and not just some "district". Dozens, maybe hundreds or thousands of editors in the English Wikipedia did so too.
transclusion count:
That means that Module:Settlement short description is transcluded on pages that don't transclude the Infobox. According to WhatLinksHere Infobox musuem, church, hospital transclude it too, It seems the inclusion is done via the Module:Type in location, also coded by Galobtter. TerraCyprus ( talk) 09:36, 21 August 2019 (UTC)
Template:Infobox U.S. metropolitan area has
| coordinates = {{if empty|{{{coordinates|}}}|{{#if:{{#property:P625}}|{{coord|format=dms|display=inline}}}}}}
Could that be activated for Infobox settlement? 77.183.50.1 ( talk) 10:23, 5 June 2019 (UTC) // @ Hike395: could you help? 77.183.50.1 ( talk) 10:31, 5 June 2019 (UTC)
Wikidata fallback also found in {{ Infobox U.S. county}}
| coordinates = {{ifempty|{{{coordinates|}}}|{{#if:{{#property:P625}}|{{coord|format=dms|display=inline}}}}}}
TerraCyprus ( talk) 12:06, 23 August 2019 (UTC)
This
edit request to
Template:Infobox settlement has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please sync with this version of the sandbox where I added government blanks for use in wrapper templates. See discussion at Template talk:Infobox U.S. state#New Infobox format, not a fan. -- Trialpears ( talk) 16:40, 29 August 2019 (UTC)
{{ Infobox U.S. state}} has largest city and largest metro, more generalized that could be
| part1_label = [[List of U.S. states' largest cities by population|Largest city]] | part1_data = {{{LargestCity|}}} | part2_label = [[List of Metropolitan Statistical Areas|Largest metro]] | part2_data = {{{LargestMetro|}}}
This then can also be used for other places outside the US. Another option, more restrictive:
| part_largest1_label = [[List of U.S. states' largest cities by population|Largest city]] | part_largest1_data = {{{LargestCity|}}} | part_largest2_label = [[List of Metropolitan Statistical Areas|Largest metro]] | part_largest2_data = {{{LargestMetro|}}}
TerraCyprus ( talk) 18:27, 6 August 2019 (UTC)
@ Trialpears: this may solve the US state box problem. I made no edits in the sandbox yet, because other changes are still waiting to be implemented. TerraCyprus ( talk) 21:42, 6 August 2019 (UTC)
Virginia has the parameter LargestCounty in {{ Infobox U.S. state}}, which is not supported by that infobox. TerraCyprus ( talk) 14:24, 9 August 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
"name" and "info" as in the blank fields.
| part1_name = [[List of U.S. states' largest cities by population|Largest city]] | part1_info = {{{LargestCity|}}} | part2_name = [[List of Metropolitan Statistical Areas|Largest metro]] | part2_info = {{{LargestMetro|}}}
This diff :
[4], but should be done after the time zone related edit request above.
TerraCyprus (
talk) 19:48, 9 August 2019 (UTC) - strike since the next is applicable.
TerraCyprus (
talk) 16:36, 11 August 2019 (UTC)
|seat1=
, is there a problem with using that parameter?
Frietjes (
talk) 17:54, 18 August 2019 (UTC)
@
Frietjes: Sorry, didn't see your question. There are entities that have two seats, for them there is |seat=
and |seat1=
. But seats are only special kinds of parts of an entity. In the /doc there is
<!-- seat, smaller parts --> | seat_type = <!-- defaults to: Seat --> | seat = | seat1_type = <!-- defaults to: Former seat --> | seat1 = | parts_type = <!-- defaults to: Boroughs --> | parts_style = <!-- list, coll (collapsed list), para (paragraph format) --> | parts = <!-- parts text, or header for parts list --> | p1 = | p2 = <!-- etc., up to p50: for separate parts to be listed-->
"Largest metro", "largest city", "largest county", "other cities" (all seen during the last two months) are not seats, they are just another type of parts of an entity. TerraCyprus ( talk) 17:55, 20 August 2019 (UTC)
{{ Infobox U.S. county/sandbox}} has:
| parts_type = Other cities
| parts = {{{other_cities|}}}
TerraCyprus ( talk) 12:24, 23 August 2019 (UTC)
{{
edit template-protected}}
template. Going to put a 'needs consensus' here to get this out of the queue and because at least one person otherwise has disagreed that the changes in this part are good.
Izno (
talk) 03:35, 7 September 2019 (UTC)Literacy rate and sex ratio ( Human sex ratio) are common parameters in demographic information systems. Two parameters could be added so that the information does not end up in blank parameters anymore or in case of wrappers is mapped to such blank parameters and in both cases is displayed in inconsistent places in the infobox:
| population_literacy_rate = | population_sex_ratio =
Suggested prefix is "population_" as that is, with the exception of some "pop_", the prefix used for all other non-blank population/demographics parameters. TerraCyprus ( talk) 14:54, 11 August 2019 (UTC)
Data is stored in different blank fields (blank, blank1, blank2) and sections (sec1/sec2) and in different ways, e.g. sex ratio, defined in the article human sex ratio as male/female:
| population_blank2_title = [[human sex ratio|Sex ratio]] | population_blank2 = 935
| blank_name_sec1 = [[human sex ratio|Sex Ratio]] | blank_info_sec1 = 1019 | blank1_name_sec1 = [[Literacy Rate]] | blank1_info_sec1 = 80%
| blank_name_sec1 = [[human sex ratio|Sex ratio]] | blank_info_sec1 = 1016<ref name="census2011.co.in"/> | blank1_name_sec2 = Literacy | blank1_info_sec2 = 94.03%
| blank1_name_sec1 = [[Human sex ratio|Sex ratio]] | blank1_info_sec1 = 51%-49% [[male|♂]]/[[female|♀]]
| blank1_name_sec1 = [[Human sex ratio|Sex ratio]] | blank1_info_sec1 = 1096 [[male|♂]]/[[female|♀]] | blank2_name_sec1 = Literacy | blank2_info_sec1 = 93.55%
| blank2_name_sec1 = [[Human sex ratio|Sex ratio]] | blank2_info_sec1 = 1000/943 [[male|♂]]/[[female|♀]]
| blank_name_sec2 = [[Literacy in India|Literacy]] | blank_info_sec2 = 83.78%<ref name="Census 2011A" />
| blank1_name_sec2 = [[Literacy in India|Literacy]] {{nobold|(2011)}} | blank1_info_sec2 = 67.68%<ref name="pc-census2011" /> | blank2_name_sec2 = [[Human sex ratio|Sex ratio]] {{nobold|(2011)}} | blank2_info_sec2 = 912 [[females|♀]]/1000 [[males|♂]]
Wikidata:
TerraCyprus ( talk) 11:27, 9 August 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The parameters did exist in infoboxes of which the wrappers have been replaced with Infobox settlement. They either got deleted or are in blank parameters in the demographics section for which the display position is not standardized, or even worse, often in some of the general blank parameters, which are displayed away from the population/demographics section (see above: #Examples from infoboxes). This is an attempt to display the two parameters, provided data is available, in a predictable manner and predictable position. TerraCyprus ( talk) 13:28, 11 August 2019 (UTC)
This change would be helpful for fixing inconsistencies especially in Indian infoboxes. Also, if {{ Infobox India district}} is replaced this week, it would avoid extra work, if before replacement it is changed to use the new parameters. TerraCyprus ( talk) 11:51, 12 August 2019 (UTC)
{{
edit template-protected}}
template. Same deal here; this edit request is a month old at this point.
Izno (
talk) 03:37, 7 September 2019 (UTC)Although there is a link in the side bar when a Wikivoyage page exists, this is not always obvious to the occasional reader. As Wikipedia is often the first stopping point for visitors going to a settlement, as a tourist or on business, it would be useful to also direct them to Wikivoyage for additional information not covered by Wikipedia. I would therefore like to propose an additional row with a link to the Wikivoyage page. I have added code to the sandbox with a proposed format. Would like to have peoples comments on the suggestion and any ideas for improvement. -- Traveler100 ( talk) 06:58, 7 October 2019 (UTC)
We should try to do a better job in helping our editors. Just now an editor self-reverted their change of a population figure [7] because it didn't result in any change in the published article. You and I know that this field is populated from Wikidata, and can not be overruled even if you have better information available (like was the case here). While this is bad enough in itself, it gets worse when nothing indicates this, as far as I can see. The infobox has no indication that all or some of its values come from Wikidata, the template documentation (the specific Italian comune one, or the general one here) don't indicate this either: all you get is that when you edit the article, beneath the edit box some Pnumbers are given, without indication what they mean.
Can we please, when we fetch data from Wikidata, try a few things?
This would avoid editor frustration and allow better information in our articles. Fram ( talk) 10:29, 8 October 2019 (UTC)
@ Gonnym, Pigsonthewing, TerraCyprus, Darwinek, and JelgavaLV: Despite several cases of opposition and knowing about it, Markussep, is pushing forward with creating new settlement wrapper templates without any discussion in relevant talk pages, even redirecting/repurposing type-specific ones to new creations that are not type-specific. Then using AWB to edit hundreds of pages, so that any user not having AWB would have a hard time to revert his unilateral actions.
I request that Markussep reverts these unilateral changes. 89.14.167.121 ( talk) 13:36, 19 September 2019 (UTC)
The infobox automatically generates a Short description, which can be overridden by entering |short_description=
but the infobox fails to check if there is an independent {{
short description}} template in the article and you end up will 2 short description entries. It should suppress the automatic generation if these is a {{
short description}} template in the article.
Keith D (
talk) 00:02, 30 October 2019 (UTC)
|short_description=
parameter.|short_description=
parameter actually work, but that is probably my failing. Can you demonstrate your concern by linking to a page that shows the problem you describe? –
Jonesey95 (
talk) 02:12, 30 October 2019 (UTC)|short_description=
parameter set to |short_description=Region of Belgium with 19 municipalities, including Brussels City
, and the {{
short description}} template has the description set to "Capital region of Belgium". The actual short description used by Wikipedia is "Capital region of Belgium", which says to me that the "noreplace" option in the infobox is working (i.e. the infobox lets the {{
short description}} template override the infobox's description). I think. If you are seeing a problem with a specific article, please link to it here. –
Jonesey95 (
talk) 02:41, 30 October 2019 (UTC)
Capital region of Belgium
Region of Belgium with 19 municipalities, including Brussels City
.shortdescription { display:block !important; background-color: #FFFF80; }
May be we should stop adding it by infobox templates and just use the simple {{ Short description}}- no. -- Gonnym ( talk) 06:56, 31 October 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace Anthem:
with Anthem(s):
. –
Illegitimate Barrister (
talk •
contribs), 02:37, 30 October 2019 (UTC)
|anthems=
as a valid parameter.I prefer Jonesey95's proposal. Somebody please go and make the change. Illegitimate Barrister ( talk • contribs), 00:19, 24 November 2019 (UTC)
References breaks Wikilink — Abdrashitovo, Duvansky District, Bashkortostan -- AlexKozur ( talk) 09:53, 28 December 2019 (UTC)
Currently it seems there is only one page listed at Category:Pages using infobox settlement with a dot map, however it's a user talk archive. Not sure if you wish to stop tracking at this point or if it's possible to whitelist that page. Jerod Lycett ( talk) 20:31, 1 January 2020 (UTC)
Cities like El Paso, Texas have a list of City Council members which I think is exactly appropriate for the Council-Manager form of government but I’ve been editing Washington State cities’ settlement infoboxes adding the correct form of government for each city and the names of their city manager and their council members but I've been getting reverted. I’m a subject matter expert on municipal government but admittedly I am an entry-level marginally-competent Wikipedia editor and don’t know the protocol of how to appeal or adjudicate this. I'd like to get some definitive guidance so I don't waste my time and I'd appreciate any advice. One common misconception is to list the mayor as a leader when in fact under Council-Manager (as the name implies) the City Council members are the part-time legislative body of which the mayor simply chairs the meetings and appears ceremonially as needed but the City Manager is the city’s executive. In Mayor-council the mayor IS in fact the chief executive to whom the city’s functional department heads all report to on a daily basis. But for council-manager cities, the mayor is "merely" one of the 7 or so council members so should be listed with perhaps (mayor) next to their name, as Orange, California, Allen, Texas and El Paso, Texas have done. It's also silly to omit City Manager from a Council-Manager form of government and then list the mayor so I'd like to be part of getting this right. Seriously, this is textbook government structure stuff. I will also argue that, for that particular city, the elected council members are notable to the residents of that city, which can be several thousand people for whom Wikipedia is where they might look it up not knowing how to navigate a city's website (and some small cities have some pretty primitive websites). Most folks aren’t capable of editing the infobox to customize the correct form of government for a given city but once set up correctly many more folks can easily edit to update for election results. By the way cities like McKinney, Texas that use the collapsable list for city council look really well thought out and I'd like to incorporate that going forward, it fits council-manager perfectly. I also see that referencing the city’s website in the infobox also provides a simple and authoritative path to check anytime one wishes and that’s a great idea. 1958publius ( talk) 02:48, 12 January 2020 (UTC)
Hello. native_name_lang
parameter doesn't work. Can you check
my sandbox for it. --
Drabdullayev17 (
talk) 10:11, 10 January 2020 (UTC)
lang="az"
. Here's the whole thing, expanded:<table class="infobox geography vcard" style="width:22em;width:23em"><tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold;font-size:1.25em; white-space:nowrap"><div style="display:inline" class="fn org">Gabala</div><br /><div class="nickname" style="font-weight:normal;display:inline;" lang="az">Qəbələ</div></th></tr></table>
| native_name_lang = az
parameter didn't add anything to infobox. It is useless. Don't have any function. Do you understand me? (P.S. I am so sorry for my bad English.) --
Drabdullayev17 (
talk) 11:27, 16 January 2020 (UTC)
Just noticed something a little strange: when using established_title
and established_date
are used alone, there is no separating line, but for established_title1
and established_date1
there is. I suggest having the line appear on all uses of the former to be consistent and properly separate history from the subdivision fields.
Sounder
Bruce 00:35, 16 January 2020 (UTC)
Hello all- I just added a prefecture to the infobox at Bourgogne-Franche-Comté. I did this via the parameter "seat1", which I discovered with some effort here. I think it would be better if we added "prefecture" as a parameter. I would just do it, but I'm not sure how, and thought I should run it by others. Anyone have thoughts on this? Eric talk 19:20, 30 January 2020 (UTC)
Hi, I am trying to do a project to raise awareness about homelessness in various cities. As many people read wikipedia, I thought it would be a good place to start. The easiest place to put the homelessness information where it belongs would most likely be in the infobox, next to population, but it's locked, and sadly has no parameter for homeless population. Could somebody help me with adding it in, enabling me to put it on many city pages easily? Thank you! -- Navrha1 ( talk) 23:45, 1 March 2020 (UTC)
For the article Kenora District, there are two time zones in the district which observe daylight savings time, and one which doesn't ( Pickle Lake and Mishkeegogamang First Nation). Could someone add a third parameter to accommodate a third time zone?-- Molandfreak (talk, contribs, email) 01:06, 10 April 2020 (UTC)
back in 2013 all of the individual area order of magnitude pages were redirected to
Orders of magnitude (area) as far as I can tell. since then, I have seen all kinds of stuff put in the |area_magnitude=
field, most of it has not been that helpful (in my opinion). do we still need this field? if we need it, couldn't the link be more automatically determined so it points to the best place to avoid the need for individual editors to guess at what to put there?
Frietjes (
talk) 15:07, 13 April 2020 (UTC)
It's somewhat bugged me for years, there's been an issue of absolutely 0 spacing between images (noticeably flags, seals, and other emblems) and their captions. This can be seen in articles like New York City and Columbus, Ohio. How can this be fixed? Thanks and best, ɱ (talk) 05:58, 5 May 2020 (UTC)
How to add this on a new draft Preetikasingh ( talk) 03:46, 9 May 2020 (UTC)
Hi, I have started adding geoshapes of Portuguese civil parishes (freguesias) to Commons. They are also being linked to the respective Wikidata items. I then changed the template at ptwiki to include this map in the infobox of the freguesia. I think it would be great to include it here as well, but I am not sure if the change is welcome here. You can see an example at the bottom of this article: pt:Bruçó. GoEThe ( talk) 16:14, 25 May 2020 (UTC)
Hi all - most infoboxes allow others to be embedded onto them, though this heavily-used one apparently doesn't. Looking at the talk page history, people have mentioned this issue plenty of times. One workaround recommended for French Quarter was to use the 'footnotes' parameter, though it leaves many undesirable horizontal lines (likely why it was not applied there). The article Old Oaks Historic District similarly could make use of having an 'embedded' parameter, so I could add its designation on the Columbus Register of Historic Properties (for now I am using 'footnotes', you can see the problem there). Thanks and best, ɱ (talk) 21:59, 8 May 2020 (UTC)
|module=
parameter to the main infobox code.
Frietjes (
talk) 21:43, 25 May 2020 (UTC)
Frequently I see, in an article, a reference to a location, and I mouseover it, hoping to see a map to find out where it is, and usually the first image is something utterly useless: a picture of a building or a flag or something. Would rearranging this template so that the map is first make mouse-overs more useful? I'm not quite clear how that works. 70.131.48.56 ( talk) 16:55, 2 June 2020 (UTC)
Sometimes there is an excellent map available for a settlement, but it covers such a wide area that the settlement itself is near-invisible when the map is put in the infobox using "image_map". Please see Al-Zahiriyya al-Tahta as an example. A great solution would be for the thumb in the infobox to show only the neighborhood of the settlement, but for the whole map to appear when the thumb is clicked on.
Outside the context of the infobox, the "annotated image" template can do this.
See the example on the right and try clicking on it. How hard would it be to provide this capability in the inbox, either by expanding the use of image_map or otherwise? Zero talk 05:02, 19 June 2020 (UTC)
| image_map = [[File:19-26-Safad-1942 (cropped).jpg|frameless|200px|link=File:19-26-Safad-1942.jpg]] | map_caption = Al-Zahiriyya al-Tahta on the 1945 Survey of Palestine map; click image to view full map
This
edit request to
Template:Infobox settlement has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Something goes wrong with the link to the flag on Victoria, Gozo. It links to dablink Flag of Victoria, while it should not link to a page at all. There is no page for this specific flag. I've checked the page source itself, and I suspect an error in the template or the Template:Infobox settlement/link template. Pyrite Pro ( talk) 10:06, 26 July 2020 (UTC)
|flag_link=National flag
parameter and linked to
National flag. If you think of a better link, then feel free to change it. Thank you for catching this!
P.I. Ellsworth
ed.
put'r there 22:46, 26 July 2020 (UTC)|official_name=
parameter, then the flag link is removed and all that remains is the unlinked "Flag". (You will also have to remove the |flag_link=National flag
parameter.) Thanks again!
P.I. Ellsworth
ed.
put'r there 23:05, 26 July 2020 (UTC)
@ Trappist the monk and WereSpielChequers: On the Matsu Islands page, I just added a set of parameters in the infobox about total coastline length in kilometers based on a newly added source, following the way coastline length is handled in Template:Infobox_islands. I do not really have the technical knowledge to add this paramater to Infobox settlement, but I would like to suggest it be added. Geographyinitiative ( talk) 06:15, 23 August 2020 (UTC)
When they create the outer limits of a territorial sea, it is based on the coastline. However, that boundary is not infinitely long because it is based on basepoints connected by straight lines. My guess is that the coastline length is derived in a similar manner. Geographyinitiative ( talk) 09:13, 23 August 2020 (UTC)
|module=
parameter, which when set as it is at
Template:Infobox settlement/testcases#Case 15: Matsu Islands, can embed another template as shown. The only difference is that the "Infobox settlement/testcases" that titles the embedded coastline info at the bottom of the template on the testcases page actually reads as "Matsu Islands" on the
Matsu Islands article page.
P.I. Ellsworth
ed.
put'r there 12:04, 30 August 2020 (UTC)For
Claremont, California, I tried to add transit access in its own section, but the bars at the top/bottom sectioning it off haven't materialized. The sec1 and sec2 in |blank_name_sec1=
etc. don't seem to be working. Help? {{u|
Sdkb}}
talk 05:17, 8 September 2020 (UTC)
The name is displayed in bold on the left side of the infobox.). Do you have a link to an article that is displaying these parameters in a different way? – Jonesey95 ( talk) 14:12, 8 September 2020 (UTC)
Template talk:Infobox province or territory of Canada#Timezone: misleading linking in wrappers. Is there some higher level rule to prevent this? I would expect that timezone_link (not numbered) is the most specific for entity described in the article/infobox. That means for Nunavut it would be Time in Nunavut and not Time in Canada. 77.191.9.108 ( talk) 23:12, 12 September 2020 (UTC)
Wikidata could be a great way to populate fields, especially those subject to periodic updates like census data. Having done some experimentation I've successfully implemented wikidata calls in this IB as follows:
population_total = {{wikidata|property|P1082}}
population_as_of = {{wikidata|qualifier|P1082|P585}}
population_footnotes = {{wikidata|reference|P1082}}
website = {{wikidata|property|P856}}
This means that as long as wikidata is up-to-date, so will this be. It could also extend the pool of editors who can update the data, since wikidata is shared across many languages. The French wikipedia equivalent IB is implemented such that any param left blank will automatically pull the value from wikidata.
I'm puzzled as to why this IB does not make more use of wikidata. -- Cornellier ( talk) 18:03, 21 June 2020 (UTC)
as long as wikidata is up-to-date- that's exactly the issue. There have been concerns and issues in the past (on various IBs) that WD doesn't have the anti-vandalism measures seen on enwiki, and there's no way to verify the accuracy of the values imported. Primefac ( talk) 18:20, 21 June 2020 (UTC)
Concerns and issuessounds anecdotal. Is there any data on this? There is a Wikidata:WikiProject Counter-Vandalism. -- Cornellier ( talk) 19:17, 21 June 2020 (UTC)
I agree it is high time to start linking to WD. This is a great tool. The so-called reasons not to use it are just excuses, any such issues can be addressed in the same way they were and are addressed here. -- P 1 9 9 ✉ 16:23, 22 June 2020 (UTC)
support here for using wikidata. -- Zache ( talk) 17:22, 22 June 2020 (UTC)
The simplest first step here is to default to the Wikidata image when none is provided. I see that users had to manually add thousands of images from Wikidata to articles about small villages as part of m:WPWP, quite a waste of time. Nemo 07:57, 10 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add "leader_party1", absence produces error at New South Wales. 77.191.249.65 ( talk) 20:02, 10 September 2020 (UTC)
|leader_party=
. –
Jonesey95 (
talk) 22:14, 10 September 2020 (UTC)
|leader_party=
." - but not for values which should be stored in leader_party1.
77.191.249.65 (
talk) 01:14, 11 September 2020 (UTC)I've worked out what 77.191 is saying. The template has |leader_name=
with corresponding |leader_party=
. It also has |leader_name1=
but there is no corresponding |leader_party1=
. This may be an omission from when leader_name1 was added to the template. — Martin (
MSGJ ·
talk) 12:42, 11 September 2020 (UTC)
|leader_name=
is meant to be for a single leader, whereas the numbered |leader_nameX=
are meant to be for collapsed lists (see
Example 2 or
Halifax). In other words, they're set up completely differently. Gonna close the request for the moment until we figure out what we "want" to do (i.e. consensus).
Primefac (
talk) 13:56, 11 September 2020 (UTC)
| rowclass55 = mergedrow | label55 = • {{{leader_title}}} | data55 = {{#if:{{{leader_title|}}}|{{{leader_name|}}} {{#if:{{{leader_party|}}}|({{Polparty|{{{subdivision_name}}}|{{{leader_party}}}}})}}}} | rowclass56 = mergedrow | label56 = • {{{leader_title1}}} | data56 = {{#if:{{{leader_title1|}}}|{{{leader_name1|}}}}} | rowclass57 = mergedrow | label57 = • {{{leader_title2}}} | data57 = {{#if:{{{leader_title2|}}}|{{{leader_name2|}}}}} | rowclass58 = mergedrow | label58 = • {{{leader_title3}}} | data58 = {{#if:{{{leader_title3|}}}|{{{leader_name3|}}}}} | rowclass59 = mergedrow | label59 = • {{{leader_title4}}} | data59 = {{#if:{{{leader_title4|}}}|{{{leader_name4|}}}}}
It is also needed for Canada, maybe Nikkimaria can say more about it. I saw it at least on one of the 13 provinces/territories. 77.191.9.108 ( talk) 22:39, 12 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add two more, Nunavut has four, see Time in Nunavut. Ontario has three. 77.191.9.108 ( talk) 22:42, 12 September 2020 (UTC)
* Pppery * it has begun... 02:40, 13 September 2020 (UTC)Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. [...] Jonesey95 ( talk) 00:16, 13 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Code in sandbox, testcase added. Please explain how to do renumbering of parameters. TerraCyprus ( talk) 22:08, 15 September 2020 (UTC)
Pages to be adjusted after the requested change is implemented:
TerraCyprus ( talk) 12:07, 16 September 2020 (UTC)
@ Plastikspork: do you think it can be taken live now? I will then also volunteer to adjust related templates and articles. TerraCyprus ( talk) 12:35, 16 September 2020 (UTC)
In Martadi, the English title of the infobox overlaps with the native name (in Nepali, I guess). Is this common for similar scripts, and can it be avoided? kennethaw88 • talk 05:21, 25 September 2020 (UTC)
{{Infobox settlement
| name = {{raise|0.2em|Nanporo}}
| official_name =
| native_name = {{lower|0.1em|{{nobold|南幌町}}}}
| native_name_lang = ja
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can someone please add the TfM tag to be added to the top of this template because there's currently a discussion about merging {{ Infobox province or territory of Canada}} with this template? -- PK2 ( talk) 09:42, 26 September 2020 (UTC)
|image_map = Nioro du Rip arrondissements.png
|mapsize =380px
shouldn't there be an upper limit of 300px be programmed into the box? TerraCyprus ( talk) 16:00, 27 September 2020 (UTC)
I am making some changes to subtemplates of this template in order to fix Category:Pages with non-numeric formatnum arguments errors. If I have broken any transclusions of this template, all of my changes can safely be reverted back to yesterday's version of the subtemplates. – Jonesey95 ( talk) 07:02, 28 September 2020 (UTC)
|population_footnotes=
, and some odd handling of negative numbers. If they are worth fixing, it will probably be best to set up some tracking categories within this template and its subtemplates, but it is probably best to let the category population decrease via the job queue before digging in to these stragglers. –
Jonesey95 (
talk) 00:55, 29 September 2020 (UTC)Use ISO 639-2 code, e.g. "fr" for French
For French, ISO 639-2 is fra or fre. The code fr is ISO 639-1. I guess 639-1 is correct for this template, and I’ll make the change. — Michael Z. 16:33, 5 October 2020 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 25 | ← | Archive 27 | Archive 28 | Archive 29 | Archive 30 | Archive 31 | → | Archive 33 |
If you take a look at the article for Szlagnowo, it currently has a short description of "Village in Pomeranian, Poland". This is ungrammatical and incorrect; it should read either "Village in Pomeranian Voivodeship, Poland" or "Village in Pomeranian Province, Poland". Since there isn't a short description template in the article, I imagine it's generated by the infobox template {{ Infobox settlement}}. Is there some way I can help with fixing this? -- The Anome ( talk) 20:09, 3 August 2019 (UTC)
I can think of several different quick ways to fix this, of varying degrees of hackiness, but I'd like to do something maintainable rather than a hack. Perhaps passing in more parameters to the module, providing it with the types of subdivision as well as the names, might be the way to go -- it could also be backward compatible, if necessary. I can also see that this could possibly be useful for naming conventions in other countries. @ Galobtter: is this something you could advise me on? -- The Anome ( talk) 21:06, 3 August 2019 (UTC)
|county = [[Lancaster County, Nebraska|Lancaster]]
, and the code then has the choice to extract the link name to use for the short description. --
RexxS (
talk) 16:34, 6 August 2019 (UTC)
where space is at premium, see Rio Branco, Acre: Region = North, not Region = North Region. The inclusion of the type name seems to be managed differently between sets of articles, or maybe even within such sets. TerraCyprus ( talk) 17:00, 6 August 2019 (UTC)
|subdivision_name1 = [[North Region, Brazil|North]]
, so the full link name is given (but not displayed), just as I said above. --
RexxS (
talk) 17:07, 6 August 2019 (UTC)
Do you disagree with the principle of inputting clean data and keeping subsequent programming simple?- No, do you?
The Polish data is not clean, because we are using a made-up translation of województwo pomorskie where someone has chosen to use the adjective "Pomeranian", rather than the more usual noun "Pomerania".- Even if your statement would be true, you have not shown that adjectives are never "usual". Re " List of placenames in the Province of Pomerania" - that is not for the voivodeship, but for an entity of the German Empire, for which the English Wikipedia has the article at Nazi Germany. TerraCyprus ( talk) 18:38, 6 August 2019 (UTC)
"The lists include: name; ... Gemeinde (German municipality) today; Amt (German district) today; Landkreis (German county) today; Polish name today (if east of the Oder-Neisse line); Gmina (Polish municipality, if east of the Oder-Neisse line) today; Powiat (Polish county, if east of the Oder-Neisse line) today.The specific list, List of municipalities in the Province of Pomerania, A–Z which has column headings for "Polish name today", etc. I'm pretty sure we are using "Province of Pomerania" to include województwo pomorskie in those cases. It's just a pity we don't use the same formula elsewhere. -- RexxS ( talk) 21:02, 6 August 2019 (UTC)
If you agree with the principle, why are you arguing against it?I am not, please be more careful if you accuse others.
Where are your other examples of a subdivision of a country being referred to in English as an adjective?... in the short form... Province : Western. TerraCyprus ( talk) 21:44, 6 August 2019 (UTC)
{{
Infobox settlement}} at
Ciechanowiec is displaying "Lua error in Module:Settlement_short_description at line 101: bad argument #1 to 'find' (string expected, got nil)." That is because at line 101 of
Module:Settlement short description, x is 2 and subdivision_names[2] is nil. There are various ways to fix that, the best of which presumably would be to fix the article so its parameters are correct. However, it would be nice if the module handled the situation with a more meaningful result. Sorry I haven't got time to investigate further.
Galobtter might be best to fix it. BTW, the new p.assign
function should use local
for val
and var
. Is p.assign
intended to be used from outside the module? If not, I would make the function local (remove p.
).
Johnuniq (
talk) 07:40, 21 August 2019 (UTC)
as this seems to be the only article affected (per search)How did you search for this? TerraCyprus ( talk) 11:55, 22 August 2019 (UTC)
There are
Galobtter: Why are there that many items in the category? And why are you circumventing your own code in the Alabama article? [1].
Does central management of the short descriptions for articles that use {{ Infobox settlement}} make them more consistent? Why not for U.S. states? TerraCyprus ( talk) 09:43, 20 August 2019 (UTC)
Findings: All items in the tracking category that I checked had a type that looked fine to me and each was composed, e.g. "neigborhood of ...", "district of ...", i.e. more accurate than in many infoboxes. Something isn't just of type "state", but it is a U.S. state, or a Mexican or Brazilian state. Even more diverse might be the things translated as "district". In many cases the type is linked to an article providing more information about the type, if the label is only "district" the reader may expect a general article about "district" not about districts of India. TerraCyprus ( talk) 10:02, 20 August 2019 (UTC)
The code doesn't always generate the best possible description, so overriding it is necessary.- Maybe improve the code if it fails on the not that obscure U.S. states?
my view having "neightborhood of ..." etc is redundant and pollutes the field- on what is your view based? d:Propert:P31 also stores the real type and not just some "district". Dozens, maybe hundreds or thousands of editors in the English Wikipedia did so too.
transclusion count:
That means that Module:Settlement short description is transcluded on pages that don't transclude the Infobox. According to WhatLinksHere Infobox musuem, church, hospital transclude it too, It seems the inclusion is done via the Module:Type in location, also coded by Galobtter. TerraCyprus ( talk) 09:36, 21 August 2019 (UTC)
Template:Infobox U.S. metropolitan area has
| coordinates = {{if empty|{{{coordinates|}}}|{{#if:{{#property:P625}}|{{coord|format=dms|display=inline}}}}}}
Could that be activated for Infobox settlement? 77.183.50.1 ( talk) 10:23, 5 June 2019 (UTC) // @ Hike395: could you help? 77.183.50.1 ( talk) 10:31, 5 June 2019 (UTC)
Wikidata fallback also found in {{ Infobox U.S. county}}
| coordinates = {{ifempty|{{{coordinates|}}}|{{#if:{{#property:P625}}|{{coord|format=dms|display=inline}}}}}}
TerraCyprus ( talk) 12:06, 23 August 2019 (UTC)
This
edit request to
Template:Infobox settlement has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please sync with this version of the sandbox where I added government blanks for use in wrapper templates. See discussion at Template talk:Infobox U.S. state#New Infobox format, not a fan. -- Trialpears ( talk) 16:40, 29 August 2019 (UTC)
{{ Infobox U.S. state}} has largest city and largest metro, more generalized that could be
| part1_label = [[List of U.S. states' largest cities by population|Largest city]] | part1_data = {{{LargestCity|}}} | part2_label = [[List of Metropolitan Statistical Areas|Largest metro]] | part2_data = {{{LargestMetro|}}}
This then can also be used for other places outside the US. Another option, more restrictive:
| part_largest1_label = [[List of U.S. states' largest cities by population|Largest city]] | part_largest1_data = {{{LargestCity|}}} | part_largest2_label = [[List of Metropolitan Statistical Areas|Largest metro]] | part_largest2_data = {{{LargestMetro|}}}
TerraCyprus ( talk) 18:27, 6 August 2019 (UTC)
@ Trialpears: this may solve the US state box problem. I made no edits in the sandbox yet, because other changes are still waiting to be implemented. TerraCyprus ( talk) 21:42, 6 August 2019 (UTC)
Virginia has the parameter LargestCounty in {{ Infobox U.S. state}}, which is not supported by that infobox. TerraCyprus ( talk) 14:24, 9 August 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
"name" and "info" as in the blank fields.
| part1_name = [[List of U.S. states' largest cities by population|Largest city]] | part1_info = {{{LargestCity|}}} | part2_name = [[List of Metropolitan Statistical Areas|Largest metro]] | part2_info = {{{LargestMetro|}}}
This diff :
[4], but should be done after the time zone related edit request above.
TerraCyprus (
talk) 19:48, 9 August 2019 (UTC) - strike since the next is applicable.
TerraCyprus (
talk) 16:36, 11 August 2019 (UTC)
|seat1=
, is there a problem with using that parameter?
Frietjes (
talk) 17:54, 18 August 2019 (UTC)
@
Frietjes: Sorry, didn't see your question. There are entities that have two seats, for them there is |seat=
and |seat1=
. But seats are only special kinds of parts of an entity. In the /doc there is
<!-- seat, smaller parts --> | seat_type = <!-- defaults to: Seat --> | seat = | seat1_type = <!-- defaults to: Former seat --> | seat1 = | parts_type = <!-- defaults to: Boroughs --> | parts_style = <!-- list, coll (collapsed list), para (paragraph format) --> | parts = <!-- parts text, or header for parts list --> | p1 = | p2 = <!-- etc., up to p50: for separate parts to be listed-->
"Largest metro", "largest city", "largest county", "other cities" (all seen during the last two months) are not seats, they are just another type of parts of an entity. TerraCyprus ( talk) 17:55, 20 August 2019 (UTC)
{{ Infobox U.S. county/sandbox}} has:
| parts_type = Other cities
| parts = {{{other_cities|}}}
TerraCyprus ( talk) 12:24, 23 August 2019 (UTC)
{{
edit template-protected}}
template. Going to put a 'needs consensus' here to get this out of the queue and because at least one person otherwise has disagreed that the changes in this part are good.
Izno (
talk) 03:35, 7 September 2019 (UTC)Literacy rate and sex ratio ( Human sex ratio) are common parameters in demographic information systems. Two parameters could be added so that the information does not end up in blank parameters anymore or in case of wrappers is mapped to such blank parameters and in both cases is displayed in inconsistent places in the infobox:
| population_literacy_rate = | population_sex_ratio =
Suggested prefix is "population_" as that is, with the exception of some "pop_", the prefix used for all other non-blank population/demographics parameters. TerraCyprus ( talk) 14:54, 11 August 2019 (UTC)
Data is stored in different blank fields (blank, blank1, blank2) and sections (sec1/sec2) and in different ways, e.g. sex ratio, defined in the article human sex ratio as male/female:
| population_blank2_title = [[human sex ratio|Sex ratio]] | population_blank2 = 935
| blank_name_sec1 = [[human sex ratio|Sex Ratio]] | blank_info_sec1 = 1019 | blank1_name_sec1 = [[Literacy Rate]] | blank1_info_sec1 = 80%
| blank_name_sec1 = [[human sex ratio|Sex ratio]] | blank_info_sec1 = 1016<ref name="census2011.co.in"/> | blank1_name_sec2 = Literacy | blank1_info_sec2 = 94.03%
| blank1_name_sec1 = [[Human sex ratio|Sex ratio]] | blank1_info_sec1 = 51%-49% [[male|♂]]/[[female|♀]]
| blank1_name_sec1 = [[Human sex ratio|Sex ratio]] | blank1_info_sec1 = 1096 [[male|♂]]/[[female|♀]] | blank2_name_sec1 = Literacy | blank2_info_sec1 = 93.55%
| blank2_name_sec1 = [[Human sex ratio|Sex ratio]] | blank2_info_sec1 = 1000/943 [[male|♂]]/[[female|♀]]
| blank_name_sec2 = [[Literacy in India|Literacy]] | blank_info_sec2 = 83.78%<ref name="Census 2011A" />
| blank1_name_sec2 = [[Literacy in India|Literacy]] {{nobold|(2011)}} | blank1_info_sec2 = 67.68%<ref name="pc-census2011" /> | blank2_name_sec2 = [[Human sex ratio|Sex ratio]] {{nobold|(2011)}} | blank2_info_sec2 = 912 [[females|♀]]/1000 [[males|♂]]
Wikidata:
TerraCyprus ( talk) 11:27, 9 August 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The parameters did exist in infoboxes of which the wrappers have been replaced with Infobox settlement. They either got deleted or are in blank parameters in the demographics section for which the display position is not standardized, or even worse, often in some of the general blank parameters, which are displayed away from the population/demographics section (see above: #Examples from infoboxes). This is an attempt to display the two parameters, provided data is available, in a predictable manner and predictable position. TerraCyprus ( talk) 13:28, 11 August 2019 (UTC)
This change would be helpful for fixing inconsistencies especially in Indian infoboxes. Also, if {{ Infobox India district}} is replaced this week, it would avoid extra work, if before replacement it is changed to use the new parameters. TerraCyprus ( talk) 11:51, 12 August 2019 (UTC)
{{
edit template-protected}}
template. Same deal here; this edit request is a month old at this point.
Izno (
talk) 03:37, 7 September 2019 (UTC)Although there is a link in the side bar when a Wikivoyage page exists, this is not always obvious to the occasional reader. As Wikipedia is often the first stopping point for visitors going to a settlement, as a tourist or on business, it would be useful to also direct them to Wikivoyage for additional information not covered by Wikipedia. I would therefore like to propose an additional row with a link to the Wikivoyage page. I have added code to the sandbox with a proposed format. Would like to have peoples comments on the suggestion and any ideas for improvement. -- Traveler100 ( talk) 06:58, 7 October 2019 (UTC)
We should try to do a better job in helping our editors. Just now an editor self-reverted their change of a population figure [7] because it didn't result in any change in the published article. You and I know that this field is populated from Wikidata, and can not be overruled even if you have better information available (like was the case here). While this is bad enough in itself, it gets worse when nothing indicates this, as far as I can see. The infobox has no indication that all or some of its values come from Wikidata, the template documentation (the specific Italian comune one, or the general one here) don't indicate this either: all you get is that when you edit the article, beneath the edit box some Pnumbers are given, without indication what they mean.
Can we please, when we fetch data from Wikidata, try a few things?
This would avoid editor frustration and allow better information in our articles. Fram ( talk) 10:29, 8 October 2019 (UTC)
@ Gonnym, Pigsonthewing, TerraCyprus, Darwinek, and JelgavaLV: Despite several cases of opposition and knowing about it, Markussep, is pushing forward with creating new settlement wrapper templates without any discussion in relevant talk pages, even redirecting/repurposing type-specific ones to new creations that are not type-specific. Then using AWB to edit hundreds of pages, so that any user not having AWB would have a hard time to revert his unilateral actions.
I request that Markussep reverts these unilateral changes. 89.14.167.121 ( talk) 13:36, 19 September 2019 (UTC)
The infobox automatically generates a Short description, which can be overridden by entering |short_description=
but the infobox fails to check if there is an independent {{
short description}} template in the article and you end up will 2 short description entries. It should suppress the automatic generation if these is a {{
short description}} template in the article.
Keith D (
talk) 00:02, 30 October 2019 (UTC)
|short_description=
parameter.|short_description=
parameter actually work, but that is probably my failing. Can you demonstrate your concern by linking to a page that shows the problem you describe? –
Jonesey95 (
talk) 02:12, 30 October 2019 (UTC)|short_description=
parameter set to |short_description=Region of Belgium with 19 municipalities, including Brussels City
, and the {{
short description}} template has the description set to "Capital region of Belgium". The actual short description used by Wikipedia is "Capital region of Belgium", which says to me that the "noreplace" option in the infobox is working (i.e. the infobox lets the {{
short description}} template override the infobox's description). I think. If you are seeing a problem with a specific article, please link to it here. –
Jonesey95 (
talk) 02:41, 30 October 2019 (UTC)
Capital region of Belgium
Region of Belgium with 19 municipalities, including Brussels City
.shortdescription { display:block !important; background-color: #FFFF80; }
May be we should stop adding it by infobox templates and just use the simple {{ Short description}}- no. -- Gonnym ( talk) 06:56, 31 October 2019 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace Anthem:
with Anthem(s):
. –
Illegitimate Barrister (
talk •
contribs), 02:37, 30 October 2019 (UTC)
|anthems=
as a valid parameter.I prefer Jonesey95's proposal. Somebody please go and make the change. Illegitimate Barrister ( talk • contribs), 00:19, 24 November 2019 (UTC)
References breaks Wikilink — Abdrashitovo, Duvansky District, Bashkortostan -- AlexKozur ( talk) 09:53, 28 December 2019 (UTC)
Currently it seems there is only one page listed at Category:Pages using infobox settlement with a dot map, however it's a user talk archive. Not sure if you wish to stop tracking at this point or if it's possible to whitelist that page. Jerod Lycett ( talk) 20:31, 1 January 2020 (UTC)
Cities like El Paso, Texas have a list of City Council members which I think is exactly appropriate for the Council-Manager form of government but I’ve been editing Washington State cities’ settlement infoboxes adding the correct form of government for each city and the names of their city manager and their council members but I've been getting reverted. I’m a subject matter expert on municipal government but admittedly I am an entry-level marginally-competent Wikipedia editor and don’t know the protocol of how to appeal or adjudicate this. I'd like to get some definitive guidance so I don't waste my time and I'd appreciate any advice. One common misconception is to list the mayor as a leader when in fact under Council-Manager (as the name implies) the City Council members are the part-time legislative body of which the mayor simply chairs the meetings and appears ceremonially as needed but the City Manager is the city’s executive. In Mayor-council the mayor IS in fact the chief executive to whom the city’s functional department heads all report to on a daily basis. But for council-manager cities, the mayor is "merely" one of the 7 or so council members so should be listed with perhaps (mayor) next to their name, as Orange, California, Allen, Texas and El Paso, Texas have done. It's also silly to omit City Manager from a Council-Manager form of government and then list the mayor so I'd like to be part of getting this right. Seriously, this is textbook government structure stuff. I will also argue that, for that particular city, the elected council members are notable to the residents of that city, which can be several thousand people for whom Wikipedia is where they might look it up not knowing how to navigate a city's website (and some small cities have some pretty primitive websites). Most folks aren’t capable of editing the infobox to customize the correct form of government for a given city but once set up correctly many more folks can easily edit to update for election results. By the way cities like McKinney, Texas that use the collapsable list for city council look really well thought out and I'd like to incorporate that going forward, it fits council-manager perfectly. I also see that referencing the city’s website in the infobox also provides a simple and authoritative path to check anytime one wishes and that’s a great idea. 1958publius ( talk) 02:48, 12 January 2020 (UTC)
Hello. native_name_lang
parameter doesn't work. Can you check
my sandbox for it. --
Drabdullayev17 (
talk) 10:11, 10 January 2020 (UTC)
lang="az"
. Here's the whole thing, expanded:<table class="infobox geography vcard" style="width:22em;width:23em"><tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold;font-size:1.25em; white-space:nowrap"><div style="display:inline" class="fn org">Gabala</div><br /><div class="nickname" style="font-weight:normal;display:inline;" lang="az">Qəbələ</div></th></tr></table>
| native_name_lang = az
parameter didn't add anything to infobox. It is useless. Don't have any function. Do you understand me? (P.S. I am so sorry for my bad English.) --
Drabdullayev17 (
talk) 11:27, 16 January 2020 (UTC)
Just noticed something a little strange: when using established_title
and established_date
are used alone, there is no separating line, but for established_title1
and established_date1
there is. I suggest having the line appear on all uses of the former to be consistent and properly separate history from the subdivision fields.
Sounder
Bruce 00:35, 16 January 2020 (UTC)
Hello all- I just added a prefecture to the infobox at Bourgogne-Franche-Comté. I did this via the parameter "seat1", which I discovered with some effort here. I think it would be better if we added "prefecture" as a parameter. I would just do it, but I'm not sure how, and thought I should run it by others. Anyone have thoughts on this? Eric talk 19:20, 30 January 2020 (UTC)
Hi, I am trying to do a project to raise awareness about homelessness in various cities. As many people read wikipedia, I thought it would be a good place to start. The easiest place to put the homelessness information where it belongs would most likely be in the infobox, next to population, but it's locked, and sadly has no parameter for homeless population. Could somebody help me with adding it in, enabling me to put it on many city pages easily? Thank you! -- Navrha1 ( talk) 23:45, 1 March 2020 (UTC)
For the article Kenora District, there are two time zones in the district which observe daylight savings time, and one which doesn't ( Pickle Lake and Mishkeegogamang First Nation). Could someone add a third parameter to accommodate a third time zone?-- Molandfreak (talk, contribs, email) 01:06, 10 April 2020 (UTC)
back in 2013 all of the individual area order of magnitude pages were redirected to
Orders of magnitude (area) as far as I can tell. since then, I have seen all kinds of stuff put in the |area_magnitude=
field, most of it has not been that helpful (in my opinion). do we still need this field? if we need it, couldn't the link be more automatically determined so it points to the best place to avoid the need for individual editors to guess at what to put there?
Frietjes (
talk) 15:07, 13 April 2020 (UTC)
It's somewhat bugged me for years, there's been an issue of absolutely 0 spacing between images (noticeably flags, seals, and other emblems) and their captions. This can be seen in articles like New York City and Columbus, Ohio. How can this be fixed? Thanks and best, ɱ (talk) 05:58, 5 May 2020 (UTC)
How to add this on a new draft Preetikasingh ( talk) 03:46, 9 May 2020 (UTC)
Hi, I have started adding geoshapes of Portuguese civil parishes (freguesias) to Commons. They are also being linked to the respective Wikidata items. I then changed the template at ptwiki to include this map in the infobox of the freguesia. I think it would be great to include it here as well, but I am not sure if the change is welcome here. You can see an example at the bottom of this article: pt:Bruçó. GoEThe ( talk) 16:14, 25 May 2020 (UTC)
Hi all - most infoboxes allow others to be embedded onto them, though this heavily-used one apparently doesn't. Looking at the talk page history, people have mentioned this issue plenty of times. One workaround recommended for French Quarter was to use the 'footnotes' parameter, though it leaves many undesirable horizontal lines (likely why it was not applied there). The article Old Oaks Historic District similarly could make use of having an 'embedded' parameter, so I could add its designation on the Columbus Register of Historic Properties (for now I am using 'footnotes', you can see the problem there). Thanks and best, ɱ (talk) 21:59, 8 May 2020 (UTC)
|module=
parameter to the main infobox code.
Frietjes (
talk) 21:43, 25 May 2020 (UTC)
Frequently I see, in an article, a reference to a location, and I mouseover it, hoping to see a map to find out where it is, and usually the first image is something utterly useless: a picture of a building or a flag or something. Would rearranging this template so that the map is first make mouse-overs more useful? I'm not quite clear how that works. 70.131.48.56 ( talk) 16:55, 2 June 2020 (UTC)
Sometimes there is an excellent map available for a settlement, but it covers such a wide area that the settlement itself is near-invisible when the map is put in the infobox using "image_map". Please see Al-Zahiriyya al-Tahta as an example. A great solution would be for the thumb in the infobox to show only the neighborhood of the settlement, but for the whole map to appear when the thumb is clicked on.
Outside the context of the infobox, the "annotated image" template can do this.
See the example on the right and try clicking on it. How hard would it be to provide this capability in the inbox, either by expanding the use of image_map or otherwise? Zero talk 05:02, 19 June 2020 (UTC)
| image_map = [[File:19-26-Safad-1942 (cropped).jpg|frameless|200px|link=File:19-26-Safad-1942.jpg]] | map_caption = Al-Zahiriyya al-Tahta on the 1945 Survey of Palestine map; click image to view full map
This
edit request to
Template:Infobox settlement has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Something goes wrong with the link to the flag on Victoria, Gozo. It links to dablink Flag of Victoria, while it should not link to a page at all. There is no page for this specific flag. I've checked the page source itself, and I suspect an error in the template or the Template:Infobox settlement/link template. Pyrite Pro ( talk) 10:06, 26 July 2020 (UTC)
|flag_link=National flag
parameter and linked to
National flag. If you think of a better link, then feel free to change it. Thank you for catching this!
P.I. Ellsworth
ed.
put'r there 22:46, 26 July 2020 (UTC)|official_name=
parameter, then the flag link is removed and all that remains is the unlinked "Flag". (You will also have to remove the |flag_link=National flag
parameter.) Thanks again!
P.I. Ellsworth
ed.
put'r there 23:05, 26 July 2020 (UTC)
@ Trappist the monk and WereSpielChequers: On the Matsu Islands page, I just added a set of parameters in the infobox about total coastline length in kilometers based on a newly added source, following the way coastline length is handled in Template:Infobox_islands. I do not really have the technical knowledge to add this paramater to Infobox settlement, but I would like to suggest it be added. Geographyinitiative ( talk) 06:15, 23 August 2020 (UTC)
When they create the outer limits of a territorial sea, it is based on the coastline. However, that boundary is not infinitely long because it is based on basepoints connected by straight lines. My guess is that the coastline length is derived in a similar manner. Geographyinitiative ( talk) 09:13, 23 August 2020 (UTC)
|module=
parameter, which when set as it is at
Template:Infobox settlement/testcases#Case 15: Matsu Islands, can embed another template as shown. The only difference is that the "Infobox settlement/testcases" that titles the embedded coastline info at the bottom of the template on the testcases page actually reads as "Matsu Islands" on the
Matsu Islands article page.
P.I. Ellsworth
ed.
put'r there 12:04, 30 August 2020 (UTC)For
Claremont, California, I tried to add transit access in its own section, but the bars at the top/bottom sectioning it off haven't materialized. The sec1 and sec2 in |blank_name_sec1=
etc. don't seem to be working. Help? {{u|
Sdkb}}
talk 05:17, 8 September 2020 (UTC)
The name is displayed in bold on the left side of the infobox.). Do you have a link to an article that is displaying these parameters in a different way? – Jonesey95 ( talk) 14:12, 8 September 2020 (UTC)
Template talk:Infobox province or territory of Canada#Timezone: misleading linking in wrappers. Is there some higher level rule to prevent this? I would expect that timezone_link (not numbered) is the most specific for entity described in the article/infobox. That means for Nunavut it would be Time in Nunavut and not Time in Canada. 77.191.9.108 ( talk) 23:12, 12 September 2020 (UTC)
Wikidata could be a great way to populate fields, especially those subject to periodic updates like census data. Having done some experimentation I've successfully implemented wikidata calls in this IB as follows:
population_total = {{wikidata|property|P1082}}
population_as_of = {{wikidata|qualifier|P1082|P585}}
population_footnotes = {{wikidata|reference|P1082}}
website = {{wikidata|property|P856}}
This means that as long as wikidata is up-to-date, so will this be. It could also extend the pool of editors who can update the data, since wikidata is shared across many languages. The French wikipedia equivalent IB is implemented such that any param left blank will automatically pull the value from wikidata.
I'm puzzled as to why this IB does not make more use of wikidata. -- Cornellier ( talk) 18:03, 21 June 2020 (UTC)
as long as wikidata is up-to-date- that's exactly the issue. There have been concerns and issues in the past (on various IBs) that WD doesn't have the anti-vandalism measures seen on enwiki, and there's no way to verify the accuracy of the values imported. Primefac ( talk) 18:20, 21 June 2020 (UTC)
Concerns and issuessounds anecdotal. Is there any data on this? There is a Wikidata:WikiProject Counter-Vandalism. -- Cornellier ( talk) 19:17, 21 June 2020 (UTC)
I agree it is high time to start linking to WD. This is a great tool. The so-called reasons not to use it are just excuses, any such issues can be addressed in the same way they were and are addressed here. -- P 1 9 9 ✉ 16:23, 22 June 2020 (UTC)
support here for using wikidata. -- Zache ( talk) 17:22, 22 June 2020 (UTC)
The simplest first step here is to default to the Wikidata image when none is provided. I see that users had to manually add thousands of images from Wikidata to articles about small villages as part of m:WPWP, quite a waste of time. Nemo 07:57, 10 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add "leader_party1", absence produces error at New South Wales. 77.191.249.65 ( talk) 20:02, 10 September 2020 (UTC)
|leader_party=
. –
Jonesey95 (
talk) 22:14, 10 September 2020 (UTC)
|leader_party=
." - but not for values which should be stored in leader_party1.
77.191.249.65 (
talk) 01:14, 11 September 2020 (UTC)I've worked out what 77.191 is saying. The template has |leader_name=
with corresponding |leader_party=
. It also has |leader_name1=
but there is no corresponding |leader_party1=
. This may be an omission from when leader_name1 was added to the template. — Martin (
MSGJ ·
talk) 12:42, 11 September 2020 (UTC)
|leader_name=
is meant to be for a single leader, whereas the numbered |leader_nameX=
are meant to be for collapsed lists (see
Example 2 or
Halifax). In other words, they're set up completely differently. Gonna close the request for the moment until we figure out what we "want" to do (i.e. consensus).
Primefac (
talk) 13:56, 11 September 2020 (UTC)
| rowclass55 = mergedrow | label55 = • {{{leader_title}}} | data55 = {{#if:{{{leader_title|}}}|{{{leader_name|}}} {{#if:{{{leader_party|}}}|({{Polparty|{{{subdivision_name}}}|{{{leader_party}}}}})}}}} | rowclass56 = mergedrow | label56 = • {{{leader_title1}}} | data56 = {{#if:{{{leader_title1|}}}|{{{leader_name1|}}}}} | rowclass57 = mergedrow | label57 = • {{{leader_title2}}} | data57 = {{#if:{{{leader_title2|}}}|{{{leader_name2|}}}}} | rowclass58 = mergedrow | label58 = • {{{leader_title3}}} | data58 = {{#if:{{{leader_title3|}}}|{{{leader_name3|}}}}} | rowclass59 = mergedrow | label59 = • {{{leader_title4}}} | data59 = {{#if:{{{leader_title4|}}}|{{{leader_name4|}}}}}
It is also needed for Canada, maybe Nikkimaria can say more about it. I saw it at least on one of the 13 provinces/territories. 77.191.9.108 ( talk) 22:39, 12 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add two more, Nunavut has four, see Time in Nunavut. Ontario has three. 77.191.9.108 ( talk) 22:42, 12 September 2020 (UTC)
* Pppery * it has begun... 02:40, 13 September 2020 (UTC)Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. [...] Jonesey95 ( talk) 00:16, 13 September 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Code in sandbox, testcase added. Please explain how to do renumbering of parameters. TerraCyprus ( talk) 22:08, 15 September 2020 (UTC)
Pages to be adjusted after the requested change is implemented:
TerraCyprus ( talk) 12:07, 16 September 2020 (UTC)
@ Plastikspork: do you think it can be taken live now? I will then also volunteer to adjust related templates and articles. TerraCyprus ( talk) 12:35, 16 September 2020 (UTC)
In Martadi, the English title of the infobox overlaps with the native name (in Nepali, I guess). Is this common for similar scripts, and can it be avoided? kennethaw88 • talk 05:21, 25 September 2020 (UTC)
{{Infobox settlement
| name = {{raise|0.2em|Nanporo}}
| official_name =
| native_name = {{lower|0.1em|{{nobold|南幌町}}}}
| native_name_lang = ja
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can someone please add the TfM tag to be added to the top of this template because there's currently a discussion about merging {{ Infobox province or territory of Canada}} with this template? -- PK2 ( talk) 09:42, 26 September 2020 (UTC)
|image_map = Nioro du Rip arrondissements.png
|mapsize =380px
shouldn't there be an upper limit of 300px be programmed into the box? TerraCyprus ( talk) 16:00, 27 September 2020 (UTC)
I am making some changes to subtemplates of this template in order to fix Category:Pages with non-numeric formatnum arguments errors. If I have broken any transclusions of this template, all of my changes can safely be reverted back to yesterday's version of the subtemplates. – Jonesey95 ( talk) 07:02, 28 September 2020 (UTC)
|population_footnotes=
, and some odd handling of negative numbers. If they are worth fixing, it will probably be best to set up some tracking categories within this template and its subtemplates, but it is probably best to let the category population decrease via the job queue before digging in to these stragglers. –
Jonesey95 (
talk) 00:55, 29 September 2020 (UTC)Use ISO 639-2 code, e.g. "fr" for French
For French, ISO 639-2 is fra or fre. The code fr is ISO 639-1. I guess 639-1 is correct for this template, and I’ll make the change. — Michael Z. 16:33, 5 October 2020 (UTC)