![]() | 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 15 | ← | Archive 17 | Archive 18 | Archive 19 | Archive 20 | Archive 21 | → | Archive 25 |
Population total should give us the total population of the settlement and administratively affiliated rural areas. (or at least I imagine so.) In other words, population total should be greater than (or equal to) the population of the city. But in this template population total turns out to be the population of the city. Whenever I enter the population of the province as population total, the outcome is the population of the city. Well the population of the city is already there with the caption Population urban. (It may be a misunderstanding of mine.) Any suggestions ? Nedim Ardoğa ( talk) 09:56, 5 February 2010 (UTC)
This is a very detailed template and I wouldn't say I want some entry in particular. I only want to point out that population_total is somewhat deceptive. I tried to give the total population of a province in an edit page. But in text it appeared as population_city. I think population city is equivalent to population urban and population total should refer to the total population of a greater area (either metropolitan area or a province). Have a nice day. Nedim Ardoğa ( talk) 09:39, 7 February 2010 (UTC)
I think the article for Budapest, if I recall correctly, has (or had) the Metro population being larger than the city + total. I may have enquired to that on its page. If it wasn't Budapest it was another large Hungarian city (not generally worth enquiring on a small Hungarian settlement so I seem to think it was Budapest, but this would have been a few months ago and could well have been fixed by now.) It shows anyway there is confusion on what these are supposed to represent. It is probably not obvious to UK users that "metro" means the inner city and "city" means the greater area, or perhaps it is the other way around; certainly these terms seem to have different meanings in different places (Tesco Metro, for example, was the ones in the city centres) and although we are stuck with the names of the fields we should describe what they mean. City, for example, shows widely varying meanings in various parts of the world. Si Trew ( talk) 23:14, 1 April 2010 (UTC)
Some good folks at Talk:Long_Branch,_Panola_County,_Texas#Coordinates may need some help with this template. They'd used the {{ geodata-check}} tag, even though they agreed that the coords were correct. I removed that tag and told them I'd let this page know about it. Regards, TRANSPORTERMAN ( TALK) 19:49, 5 February 2010 (UTC)
When subdivision_name=
is left blank, no _region:
parameter should be generated for the {{
Coord}} template, right? I'd appreciate it if somebody with administrator privileges would fix this bug by replacing the single instance of _region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}
with something like {{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name1|}}}}}}}
. Best regards, --
Stepheng3 (
talk) 20:34, 28 February 2010 (UTC)
subdivision_name=
is blank and subdivision_name1=
is not blank. I want to stop transcluding whenever subdivision_name=
is blank -- regardless of what subdivision_name1=
is. --
Stepheng3 (
talk) 04:03, 1 March 2010 (UTC)
I've run into a large number of infoboxes that use flag icons or templates in these fields. The documentation says that flag icons and templates should not be used. Is there actually consensus on this? If so, then let's request a bot run to clean up this issue. Such a bot could:
Any caveats or objections? -- Stepheng3 ( talk) 01:09, 1 March 2010 (UTC)
country=
field. Is there any hope that {{
Infobox settlement}} could move in that direction? --
Stepheng3 (
talk) 18:23, 1 March 2010 (UTC)coordinates_type = type:city_region:XX-YY
(for example) to the list of infobox parameters, and we delete those Abbr templates altogether. —
Andrwsc (
talk ·
contribs) 19:34, 1 March 2010 (UTC)
coordinates_type
parameter. Something like the iso_code
and iso_subcode
parameters of {{
geobox}} would be easier to use, but would remove the massive lookup function of the Abbr templates. —
Andrwsc (
talk ·
contribs) 23:17, 1 March 2010 (UTC)
coordinates_type=
blank. Do you envision periodic or ongoing bot runs to fill in the coordinates_type=
fields of new infoboxes? --
Stepheng3 (
talk) 23:56, 1 March 2010 (UTC)
coordinates_type
without change (although a bot could do that immediately, if one was available) but I am suggesting that we ask users (or a permanently running bot to fix problems) to specify a mandatory parameter for the region if coordinate parameters are also specified for the infobox. —
Andrwsc (
talk ·
contribs) 00:08, 2 March 2010 (UTC)
(outdent)
I've posted a proposal involving the existing coordinates_type=
parameter at
WP:BOTREQ. --
Stepheng3 (
talk) 05:38, 6 March 2010 (UTC)
country-name
and label
fields in the
hCard microformat.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 19:51, 24 March 2010 (UTC)It seems that the conversion to feet when elevation_m is specified may not be correct. See the Gulzar Khanwala article, in which the convert template is used in the text to convert 145 metres to 480 ft, yet the conversion in the settlement infobox converts to 476 ft, a difference of 4 ft. Can someone please take a look at this and see where the discrepancy lies. Thanks. Truthanado ( talk) 05:14, 1 March 2010 (UTC)
{{
convert}}
template is not wrong, but it is one of many ways that this template has kinda got a bit of
bit rot in my opinion and doesn't quite do the right thing, or at least, the obvious thing. Plastik, btw, I left you a thank-you at {[Hungarian Infobox settlement]].
Si Trew (
talk) 00:43, 2 March 2010 (UTC)An editor has raised an issue over at the Canadian notice board over the use and place of French names within the infoboxes (e.g. Montreal or Greater Sudbury), though the comment extends to all non-English languages. In relation to the infobox, it specifically concerns the name, native_name, official_name and other_name fields. It would be appreciated to get some extra opinions on the matter. See #French in Infoboxes for details. — Io Katai ᵀᵃˡᵏ 02:37, 2 March 2010 (UTC)
I'm working on a "wrapper" template to convert {{ Infobox Place Ireland}} to "redirect" to this one. In this way, Irish place articles would no use this template but without having to either bot or manually change over to this template (the change over would be done at the level of {{ Infobox Place Ireland}}).
I think this is a good model for migrating country specific info boxes to this template because (a) it would be make for a seamless and transparent transition; (b) it would still still allow for country-specific fields to be used (by users) and country specific documentation on use while feeding into a common template for consistency in presentation (and avoid needlessly eccentric country-specific fields).
However, I'm hit a problem. The issue is that {{ Infobox Place Ireland}} puts area and elevation fields a human-meaningful strings not numbers (e.g. "area=1,588 km²" not "area_total_km2=1558"). Passing this string into the fields in this template cause an exception because the template attempts to convert them to m2.
What I would like is for another option to be added to the area and elevation options. As well as area_total_km2 and area_total_sq_mi, can we have area_total_info? area_total_info would simply be displayed without conversion in any way. Similarly, could we have elevation_info as well as elevation_m and elevation_ft? -- RA ( talk) 20:13, 6 March 2010 (UTC)
{{
Infobox Hungarian settlement}}
might server as an example, although {{
Magyar télepules infobox}}
, its Hungarian companion with field names same as on HU:WP, was transferred with a similar process, though many French templates exist for similar purposes.) If as I first read, the idea was to divorce the specific templates from this generic one, I would be against that. q.v. for example {{
Infobox military person}}
which is based on {{
Infobox person}}
and both restricts and extends it appropriately. The aim is that Infobox settlement contains All World Knowledge, but in a particular region, only some of it is ever useful, and stock things like what you call administrative regions (county, state, and so on) can be plugged in by the template rather than laboroiusly supplied. I am all for that, and have in the past (a view I stick to) dismissed the idea it can all be done by writing directly against this template (or others). If that were the case, we could forget transclusion all together and just write all our conversions and so on in pure Wikipedia markup, to the unspeakable advancement of human knowledge.
Si Trew (
talk) 23:24, 1 April 2010 (UTC)
Please see Wikipedia:Bots/Requests for approval/Xenobot 6.2 and comment. Thank you, – xeno talk 18:22, 17 March 2010 (UTC)
coordinates_region
parameter added to this infobox. That would require replacing this code fragment:{{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}
{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}
{{#if:{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}
{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}|{{#if:{{{subdivision_name|}}}|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}
iso_region=
(as in {{
Infobox building}})? iso_code=
/iso_subcode=
(as in {{
Geobox}})? Or region=
(as in {{
Infobox mountain}})? --
Stepheng3 (
talk) 01:08, 18 March 2010 (UTC)
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name_1|}}}}}}}
iso_region
, then. --
Stepheng3 (
talk) 20:15, 19 March 2010 (UTC)
iso_code
and iso_subcode
parameters of {{
Geobox}} were for infoboxes of subnational divisions (states, provinces, etc.) which is a different purpose than what we're talking about here (usually infoboxes for cities and towns). So I'd prefer coordinates_region
or even coordinates_iso_region
if we're !voting. —
Andrwsc (
talk ·
contribs) 20:54, 19 March 2010 (UTC)
coordinates_region
. --
Stepheng3 (
talk) 21:00, 19 March 2010 (UTC)
So, are we in agreement to add {{{coordinates_region}}}
, using the proposed code?
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name_1|}}}}}}}
If there are no objections, I (or someone else) can add it. Plastikspork ―Œ(talk) 16:20, 26 March 2010 (UTC)
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}
24-March-10: I have been trying to simplify {{ CountryAbbr2}}, for the gargantuan mass of wikilinked nation-flag templates (with their 560 subtemplates & sub-subtemplates). That whole CountryAbbr contraption has become an everything-plus-the-kitchen-sink template, and consequently, there really are somewhere between 40-73 million wikilinks being generated from Template:CountryAbbr2 into {CountryAbbr} and {Infobox_Settlement}. I think we should just create a variation named {CountryAbbrFast}, which, as the name implies, is fast and would hence remain fast in future updates. No more worrying about flag-image matching, or flag-image-data matching, or who knows, perhaps some day, Olympic-host-language names to match for country/region abbreviations. By declaring {CountryAbbrFast} to be fast, we can avoid the runaway " creeping featurism" which has resulted in the "featured creepyism" of {CountryAbbr}, which has, in fact, now spawned at least 50 million wikilinks (to flag-templates) and cluttered the edit-preview of over 75,000 article pages. - Wikid77 ( talk) 22:40, 24 March 2010 (UTC)
Hi,
I've found a simmiliar template in the german wiki project, but I can't link to it. Could anyone else please do it? http://de.wikipedia.org/wiki/Vorlage:Infobox_OrtFlag of the United Arab Emirates.svg
-- MartinThoma ( talk) 05:50, 23 March 2010 (UTC)
<noinclude>
tag. This means that the documentation is not transcluded on any page that transcludes the template. In particular, it means you don't get your documentation spewing on to any page that uses the template.<includeonly>
tag. This means that it does not appear on the documentation page, but only on pages that include it. In particular, this means the documentation page itself is not interwiki'd to its companion template on another wiki.<noinclude>
tag, it gets those categories and interwikis, but other articles transcluding it do not get categorised and interwiki'd as such.All makes sense, but it is nonobvious when you first do it. I have deliberately interwiki'd templates and categories, when they do link to other Wikipedias' templates or wikipedias, and a similar care must then be taken not to propagate it, i.e. put it in <includeonly>
tag in the template or category.
There is, probably, an WP: namespace article that puts this more succinctly, but as usual, some things are hard to find and one struggles to find it oneself. One feels sometimes that Wikipedia takes Fowler's attitude of putting important information under bizarre headings, or as we software engineers say, make it write-only. Si Trew ( talk) 01:25, 2 April 2010 (UTC)
{{
editprotected}}
Please change:
<td colspan="2" style="text-align:center; background-color:#cddeff">— '''{{{settlement_type|{{{type}}}}}}''' —</td>
</tr>
to
<td colspan="2" style="text-align:center; background-color:#cddeff">— '''<span class="category">{{{settlement_type|{{{type}}}}}}</span>''' —</td>
</tr>
To add a "category" attribute (nothing to do with Wikipedia's categories) to the hCard microformat emitted by this template. Thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 23:45, 24 March 2010 (UTC)
25-March-10: Until {CountryAbbr2} gets simplified, just use each nation's official country name, as subdivision_name = nation, in the infobox, instead of any flag or {XXX} type template-links:
By using the simple nation name (subdivision_name = Italy), then any article can be streamlined to avoid {CountryAbbr2} and those 300-560 flag templates being linked. As long as the subdivision is a simple nation's name, then {CountryAbbr} can find the 2-letter code, lightning fast, and avoid invoking {CountyAbbr2} to lookup the complex flag-image templates. -Wikid77 20:18, 25 March 2010 (UTC)
When population_total is displayed, it is formatted using formatnum:, which supplies any necessary commas (to separate the thousands, for example). However, if the population_total= parameter itself contains commas, {{#expr:{{{population_total}}}+1}} gives an error, so the population is not passed to {{ Coord}}. Before Xenobot goes through and adds coordinates_type= to each transclusion, would it be okay to have a bot remove all commas from population_total= parameters? -- Stepheng3 ( talk) 23:22, 25 March 2010 (UTC)
I fixed most of the non-integer populations back in March, so hopefully there aren't too many right now. But if you want to create a maintenance category, go ahead.-- Stepheng3 ( talk) 21:40, 16 April 2010 (UTC)
Is there any continuing need for Category:Geolinks maintenance? It is empty, and from looking at the category page, it appears that it was intended to be populated by two deleted templates, {{ Geolinks-US-cityscale}} and {{ Mapit-US-cityscale}}. Since the templates no longer exist, perhaps the category can be deleted? -- R'n'B ( call me Russ) 14:00, 1 April 2010 (UTC)
The |native_name_lang=
logic sees to be broken; see
Bishkek.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 22:33, 1 April 2010 (UTC)
<span class="nickname" lang="cn" xml:lang="cn">子科滩镇</span>
compared to the former <span>子科滩镇</span>
.
jonkerz♠ 16:36, 2 April 2010 (UTC)class="nickname"
).
jonkerz♠ 18:22, 2 April 2010 (UTC)
I notice that {{ Infobox settlement}} can generate bizarre coordinates when longd= is blank and latd= is not blank. For an example, see [3]. I have three ideas for dealing with this situation:
We could also do any combination of the above. We might also try to address the issue at the {{ Geobox coor}} level or the {{ Coord}} level. Opinions, preferences? -- Stepheng3 ( talk) 19:34, 3 April 2010 (UTC)
In my efforts to transition
Wikipedia:WikiProject Japan over to using {{
Infobox settlement}}, I've run into some unexpected behavior on the part of this template. Many of the blank fields seem to depend on the presence of the one before, so that blank1_name_sec1
is hidden if blank_name_sec1
is blank (or omitted) and so forth. This is demonstrated in the latest version of
Template:Infobox_settlement/testcases#Test_case_4. This unexpected behavior is an impediment to my work, and I don't see it documented anywhere. I glanced at the source code, but didn't see anything obviously wrong. Does anyone know what's going on here? --
Stepheng3 (
talk) 22:21, 14 April 2010 (UTC)
To complete the conversion of Template:Infobox City Japan to use {{ Infobox settlement}} as a base, I'd like to add an extra blank field (blank7_*_sec1) to {{ Infobox settlement}}. For symmetry, I propose to also add blank7_*_sec2. I've coded the change in the sandbox and tested it. I'm prepared to update the documentation. Please let me know ASAP if there are any concerns with taking this change live. -- Stepheng3 ( talk) 16:04, 17 April 2010 (UTC)
I notice a lot of settlement articles that lack title coordinates, even though they have coordinates in the infobox. I think it might be worth running a bot over the articles which transclude {{
Infobox settlement}} without setting coordinates_display=
. Many of these articles need title coordinates. In particular, if the article transcludes neither {{
Coord/display/inline,title}} nor {{
Coord/display/title}}, then I think "|coordinates_display=inline,title
" ought to be inserted into the infobox. Any opinions on this? --
Stepheng3 (
talk) 05:37, 20 April 2010 (UTC)
{{Coord/display/inline,title}}
and/or {{Coord/display/title}}
on a single page? That has been a major problem. It's often hard to tell if there are duplicates, and it creates a mess in the title line. If we could check for that, that would be something.
Plastikspork
―Œ(talk) 01:27, 21 April 2010 (UTC)
Can someone add the field 'Governing body' to the infobox? Ideally it should be just underneath Government type. Az88 ( talk) 13:39, 21 April 2010 (UTC)
class="agent"
, as part of the emitted
hCard microformat.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 10:29, 22 April 2010 (UTC)You can collapse:
<td><span class="agent">{{{governing_body}}}</span></td>
to:
<td class="agent">{{{governing_body}}}</td>
if you wish. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:41, 30 April 2010 (UTC)
Foo | |
---|---|
Population | 10 |
Foo | |
---|---|
Population | |
• Total | 10 |
Foo | |
---|---|
Population | 10 |
The code seems to include a {{{population}}} parameter, but it isn't documented - what's it supposed to do?-- Kotniski ( talk) 09:33, 29 April 2010 (UTC)
{{
editprotected}}
Please can an admin replace the code of the template with that in
the sandbox? This will provide the intended behaviour with the area total when {{{total_type}}} is set to , as illustrated by Test Case 2. (I.e. the area will go on the same line as the word "Area", as already happens with "Population".)--
Kotniski (
talk) 09:36, 29 April 2010 (UTC)
Yes, looking at this thread and that one, I think you're right - the "population" parameter was added precisely for this purpose. There ought to be an "area" parameter similarly. That would be a much better solution than the total_type hack. (But it would be necessary to make changes in the code for unit conversions and density calculation, to take account of the possible alternative parameters.)-- Kotniski ( talk) 09:50, 1 May 2010 (UTC)
User:Dr. Blofeld/Settlement Recently came across a black marker svg which I tested on a different infobox and I thought it looked excellent, much more precise. Have a look at the infobox on the right. Would anybody support a slight tweak to a black pin? Partly the reason is that red pin often clashes on a green map and people with color blindness can't see it. Dr. Blofeld White cat 19:50, 15 May 2010 (UTC)
The pin here could be made a little larger but it is smaller because on such a large scale map if the pin is too big it covers many miles in radius flooding the surrounding area. It needs to be as precise as you can make in on such a map. Dr. Blofeld White cat 09:51, 17 May 2010 (UTC)
Can someone move the demonym field into the Population section of the infobox? I see no reason why it should be in it's own section. —Preceding unsigned comment added by 80.41.5.13 ( talk) 09:15, 21 May 2010 (UTC)
The result of the move request was: no consensus to move page, per discussion below. GTBacchus( talk) 20:37, 9 June 2010 (UTC)
Template:Infobox settlement →
Template:Infobox populated place — To match the category names, per
Wikipedia talk:Categorization/Categorising human settlements and
Wikipedia:Categories for discussion/Log/2010 April 17#Category:Settlements. I think that the current name should remain as a redirect, in order to prevent the need to fix all the current uses of the template.
עוד מישהו
Od Mishehu 06:28, 1 June 2010 (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 15 | ← | Archive 17 | Archive 18 | Archive 19 | Archive 20 | Archive 21 | → | Archive 25 |
Population total should give us the total population of the settlement and administratively affiliated rural areas. (or at least I imagine so.) In other words, population total should be greater than (or equal to) the population of the city. But in this template population total turns out to be the population of the city. Whenever I enter the population of the province as population total, the outcome is the population of the city. Well the population of the city is already there with the caption Population urban. (It may be a misunderstanding of mine.) Any suggestions ? Nedim Ardoğa ( talk) 09:56, 5 February 2010 (UTC)
This is a very detailed template and I wouldn't say I want some entry in particular. I only want to point out that population_total is somewhat deceptive. I tried to give the total population of a province in an edit page. But in text it appeared as population_city. I think population city is equivalent to population urban and population total should refer to the total population of a greater area (either metropolitan area or a province). Have a nice day. Nedim Ardoğa ( talk) 09:39, 7 February 2010 (UTC)
I think the article for Budapest, if I recall correctly, has (or had) the Metro population being larger than the city + total. I may have enquired to that on its page. If it wasn't Budapest it was another large Hungarian city (not generally worth enquiring on a small Hungarian settlement so I seem to think it was Budapest, but this would have been a few months ago and could well have been fixed by now.) It shows anyway there is confusion on what these are supposed to represent. It is probably not obvious to UK users that "metro" means the inner city and "city" means the greater area, or perhaps it is the other way around; certainly these terms seem to have different meanings in different places (Tesco Metro, for example, was the ones in the city centres) and although we are stuck with the names of the fields we should describe what they mean. City, for example, shows widely varying meanings in various parts of the world. Si Trew ( talk) 23:14, 1 April 2010 (UTC)
Some good folks at Talk:Long_Branch,_Panola_County,_Texas#Coordinates may need some help with this template. They'd used the {{ geodata-check}} tag, even though they agreed that the coords were correct. I removed that tag and told them I'd let this page know about it. Regards, TRANSPORTERMAN ( TALK) 19:49, 5 February 2010 (UTC)
When subdivision_name=
is left blank, no _region:
parameter should be generated for the {{
Coord}} template, right? I'd appreciate it if somebody with administrator privileges would fix this bug by replacing the single instance of _region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}
with something like {{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name1|}}}}}}}
. Best regards, --
Stepheng3 (
talk) 20:34, 28 February 2010 (UTC)
subdivision_name=
is blank and subdivision_name1=
is not blank. I want to stop transcluding whenever subdivision_name=
is blank -- regardless of what subdivision_name1=
is. --
Stepheng3 (
talk) 04:03, 1 March 2010 (UTC)
I've run into a large number of infoboxes that use flag icons or templates in these fields. The documentation says that flag icons and templates should not be used. Is there actually consensus on this? If so, then let's request a bot run to clean up this issue. Such a bot could:
Any caveats or objections? -- Stepheng3 ( talk) 01:09, 1 March 2010 (UTC)
country=
field. Is there any hope that {{
Infobox settlement}} could move in that direction? --
Stepheng3 (
talk) 18:23, 1 March 2010 (UTC)coordinates_type = type:city_region:XX-YY
(for example) to the list of infobox parameters, and we delete those Abbr templates altogether. —
Andrwsc (
talk ·
contribs) 19:34, 1 March 2010 (UTC)
coordinates_type
parameter. Something like the iso_code
and iso_subcode
parameters of {{
geobox}} would be easier to use, but would remove the massive lookup function of the Abbr templates. —
Andrwsc (
talk ·
contribs) 23:17, 1 March 2010 (UTC)
coordinates_type=
blank. Do you envision periodic or ongoing bot runs to fill in the coordinates_type=
fields of new infoboxes? --
Stepheng3 (
talk) 23:56, 1 March 2010 (UTC)
coordinates_type
without change (although a bot could do that immediately, if one was available) but I am suggesting that we ask users (or a permanently running bot to fix problems) to specify a mandatory parameter for the region if coordinate parameters are also specified for the infobox. —
Andrwsc (
talk ·
contribs) 00:08, 2 March 2010 (UTC)
(outdent)
I've posted a proposal involving the existing coordinates_type=
parameter at
WP:BOTREQ. --
Stepheng3 (
talk) 05:38, 6 March 2010 (UTC)
country-name
and label
fields in the
hCard microformat.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 19:51, 24 March 2010 (UTC)It seems that the conversion to feet when elevation_m is specified may not be correct. See the Gulzar Khanwala article, in which the convert template is used in the text to convert 145 metres to 480 ft, yet the conversion in the settlement infobox converts to 476 ft, a difference of 4 ft. Can someone please take a look at this and see where the discrepancy lies. Thanks. Truthanado ( talk) 05:14, 1 March 2010 (UTC)
{{
convert}}
template is not wrong, but it is one of many ways that this template has kinda got a bit of
bit rot in my opinion and doesn't quite do the right thing, or at least, the obvious thing. Plastik, btw, I left you a thank-you at {[Hungarian Infobox settlement]].
Si Trew (
talk) 00:43, 2 March 2010 (UTC)An editor has raised an issue over at the Canadian notice board over the use and place of French names within the infoboxes (e.g. Montreal or Greater Sudbury), though the comment extends to all non-English languages. In relation to the infobox, it specifically concerns the name, native_name, official_name and other_name fields. It would be appreciated to get some extra opinions on the matter. See #French in Infoboxes for details. — Io Katai ᵀᵃˡᵏ 02:37, 2 March 2010 (UTC)
I'm working on a "wrapper" template to convert {{ Infobox Place Ireland}} to "redirect" to this one. In this way, Irish place articles would no use this template but without having to either bot or manually change over to this template (the change over would be done at the level of {{ Infobox Place Ireland}}).
I think this is a good model for migrating country specific info boxes to this template because (a) it would be make for a seamless and transparent transition; (b) it would still still allow for country-specific fields to be used (by users) and country specific documentation on use while feeding into a common template for consistency in presentation (and avoid needlessly eccentric country-specific fields).
However, I'm hit a problem. The issue is that {{ Infobox Place Ireland}} puts area and elevation fields a human-meaningful strings not numbers (e.g. "area=1,588 km²" not "area_total_km2=1558"). Passing this string into the fields in this template cause an exception because the template attempts to convert them to m2.
What I would like is for another option to be added to the area and elevation options. As well as area_total_km2 and area_total_sq_mi, can we have area_total_info? area_total_info would simply be displayed without conversion in any way. Similarly, could we have elevation_info as well as elevation_m and elevation_ft? -- RA ( talk) 20:13, 6 March 2010 (UTC)
{{
Infobox Hungarian settlement}}
might server as an example, although {{
Magyar télepules infobox}}
, its Hungarian companion with field names same as on HU:WP, was transferred with a similar process, though many French templates exist for similar purposes.) If as I first read, the idea was to divorce the specific templates from this generic one, I would be against that. q.v. for example {{
Infobox military person}}
which is based on {{
Infobox person}}
and both restricts and extends it appropriately. The aim is that Infobox settlement contains All World Knowledge, but in a particular region, only some of it is ever useful, and stock things like what you call administrative regions (county, state, and so on) can be plugged in by the template rather than laboroiusly supplied. I am all for that, and have in the past (a view I stick to) dismissed the idea it can all be done by writing directly against this template (or others). If that were the case, we could forget transclusion all together and just write all our conversions and so on in pure Wikipedia markup, to the unspeakable advancement of human knowledge.
Si Trew (
talk) 23:24, 1 April 2010 (UTC)
Please see Wikipedia:Bots/Requests for approval/Xenobot 6.2 and comment. Thank you, – xeno talk 18:22, 17 March 2010 (UTC)
coordinates_region
parameter added to this infobox. That would require replacing this code fragment:{{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}
{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}
{{#if:{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}
{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}|{{#if:{{{subdivision_name|}}}|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}
iso_region=
(as in {{
Infobox building}})? iso_code=
/iso_subcode=
(as in {{
Geobox}})? Or region=
(as in {{
Infobox mountain}})? --
Stepheng3 (
talk) 01:08, 18 March 2010 (UTC)
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name_1|}}}}}}}
iso_region
, then. --
Stepheng3 (
talk) 20:15, 19 March 2010 (UTC)
iso_code
and iso_subcode
parameters of {{
Geobox}} were for infoboxes of subnational divisions (states, provinces, etc.) which is a different purpose than what we're talking about here (usually infoboxes for cities and towns). So I'd prefer coordinates_region
or even coordinates_iso_region
if we're !voting. —
Andrwsc (
talk ·
contribs) 20:54, 19 March 2010 (UTC)
coordinates_region
. --
Stepheng3 (
talk) 21:00, 19 March 2010 (UTC)
So, are we in agreement to add {{{coordinates_region}}}
, using the proposed code?
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name}}}|{{{subdivision_name_1|}}}}}}}
If there are no objections, I (or someone else) can add it. Plastikspork ―Œ(talk) 16:20, 26 March 2010 (UTC)
{{#if:{{{coordinates_region|}}}{{{subdivision_name|}}}|_region:{{{coordinates_region|{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}}}}}}}}}
24-March-10: I have been trying to simplify {{ CountryAbbr2}}, for the gargantuan mass of wikilinked nation-flag templates (with their 560 subtemplates & sub-subtemplates). That whole CountryAbbr contraption has become an everything-plus-the-kitchen-sink template, and consequently, there really are somewhere between 40-73 million wikilinks being generated from Template:CountryAbbr2 into {CountryAbbr} and {Infobox_Settlement}. I think we should just create a variation named {CountryAbbrFast}, which, as the name implies, is fast and would hence remain fast in future updates. No more worrying about flag-image matching, or flag-image-data matching, or who knows, perhaps some day, Olympic-host-language names to match for country/region abbreviations. By declaring {CountryAbbrFast} to be fast, we can avoid the runaway " creeping featurism" which has resulted in the "featured creepyism" of {CountryAbbr}, which has, in fact, now spawned at least 50 million wikilinks (to flag-templates) and cluttered the edit-preview of over 75,000 article pages. - Wikid77 ( talk) 22:40, 24 March 2010 (UTC)
Hi,
I've found a simmiliar template in the german wiki project, but I can't link to it. Could anyone else please do it? http://de.wikipedia.org/wiki/Vorlage:Infobox_OrtFlag of the United Arab Emirates.svg
-- MartinThoma ( talk) 05:50, 23 March 2010 (UTC)
<noinclude>
tag. This means that the documentation is not transcluded on any page that transcludes the template. In particular, it means you don't get your documentation spewing on to any page that uses the template.<includeonly>
tag. This means that it does not appear on the documentation page, but only on pages that include it. In particular, this means the documentation page itself is not interwiki'd to its companion template on another wiki.<noinclude>
tag, it gets those categories and interwikis, but other articles transcluding it do not get categorised and interwiki'd as such.All makes sense, but it is nonobvious when you first do it. I have deliberately interwiki'd templates and categories, when they do link to other Wikipedias' templates or wikipedias, and a similar care must then be taken not to propagate it, i.e. put it in <includeonly>
tag in the template or category.
There is, probably, an WP: namespace article that puts this more succinctly, but as usual, some things are hard to find and one struggles to find it oneself. One feels sometimes that Wikipedia takes Fowler's attitude of putting important information under bizarre headings, or as we software engineers say, make it write-only. Si Trew ( talk) 01:25, 2 April 2010 (UTC)
{{
editprotected}}
Please change:
<td colspan="2" style="text-align:center; background-color:#cddeff">— '''{{{settlement_type|{{{type}}}}}}''' —</td>
</tr>
to
<td colspan="2" style="text-align:center; background-color:#cddeff">— '''<span class="category">{{{settlement_type|{{{type}}}}}}</span>''' —</td>
</tr>
To add a "category" attribute (nothing to do with Wikipedia's categories) to the hCard microformat emitted by this template. Thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 23:45, 24 March 2010 (UTC)
25-March-10: Until {CountryAbbr2} gets simplified, just use each nation's official country name, as subdivision_name = nation, in the infobox, instead of any flag or {XXX} type template-links:
By using the simple nation name (subdivision_name = Italy), then any article can be streamlined to avoid {CountryAbbr2} and those 300-560 flag templates being linked. As long as the subdivision is a simple nation's name, then {CountryAbbr} can find the 2-letter code, lightning fast, and avoid invoking {CountyAbbr2} to lookup the complex flag-image templates. -Wikid77 20:18, 25 March 2010 (UTC)
When population_total is displayed, it is formatted using formatnum:, which supplies any necessary commas (to separate the thousands, for example). However, if the population_total= parameter itself contains commas, {{#expr:{{{population_total}}}+1}} gives an error, so the population is not passed to {{ Coord}}. Before Xenobot goes through and adds coordinates_type= to each transclusion, would it be okay to have a bot remove all commas from population_total= parameters? -- Stepheng3 ( talk) 23:22, 25 March 2010 (UTC)
I fixed most of the non-integer populations back in March, so hopefully there aren't too many right now. But if you want to create a maintenance category, go ahead.-- Stepheng3 ( talk) 21:40, 16 April 2010 (UTC)
Is there any continuing need for Category:Geolinks maintenance? It is empty, and from looking at the category page, it appears that it was intended to be populated by two deleted templates, {{ Geolinks-US-cityscale}} and {{ Mapit-US-cityscale}}. Since the templates no longer exist, perhaps the category can be deleted? -- R'n'B ( call me Russ) 14:00, 1 April 2010 (UTC)
The |native_name_lang=
logic sees to be broken; see
Bishkek.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 22:33, 1 April 2010 (UTC)
<span class="nickname" lang="cn" xml:lang="cn">子科滩镇</span>
compared to the former <span>子科滩镇</span>
.
jonkerz♠ 16:36, 2 April 2010 (UTC)class="nickname"
).
jonkerz♠ 18:22, 2 April 2010 (UTC)
I notice that {{ Infobox settlement}} can generate bizarre coordinates when longd= is blank and latd= is not blank. For an example, see [3]. I have three ideas for dealing with this situation:
We could also do any combination of the above. We might also try to address the issue at the {{ Geobox coor}} level or the {{ Coord}} level. Opinions, preferences? -- Stepheng3 ( talk) 19:34, 3 April 2010 (UTC)
In my efforts to transition
Wikipedia:WikiProject Japan over to using {{
Infobox settlement}}, I've run into some unexpected behavior on the part of this template. Many of the blank fields seem to depend on the presence of the one before, so that blank1_name_sec1
is hidden if blank_name_sec1
is blank (or omitted) and so forth. This is demonstrated in the latest version of
Template:Infobox_settlement/testcases#Test_case_4. This unexpected behavior is an impediment to my work, and I don't see it documented anywhere. I glanced at the source code, but didn't see anything obviously wrong. Does anyone know what's going on here? --
Stepheng3 (
talk) 22:21, 14 April 2010 (UTC)
To complete the conversion of Template:Infobox City Japan to use {{ Infobox settlement}} as a base, I'd like to add an extra blank field (blank7_*_sec1) to {{ Infobox settlement}}. For symmetry, I propose to also add blank7_*_sec2. I've coded the change in the sandbox and tested it. I'm prepared to update the documentation. Please let me know ASAP if there are any concerns with taking this change live. -- Stepheng3 ( talk) 16:04, 17 April 2010 (UTC)
I notice a lot of settlement articles that lack title coordinates, even though they have coordinates in the infobox. I think it might be worth running a bot over the articles which transclude {{
Infobox settlement}} without setting coordinates_display=
. Many of these articles need title coordinates. In particular, if the article transcludes neither {{
Coord/display/inline,title}} nor {{
Coord/display/title}}, then I think "|coordinates_display=inline,title
" ought to be inserted into the infobox. Any opinions on this? --
Stepheng3 (
talk) 05:37, 20 April 2010 (UTC)
{{Coord/display/inline,title}}
and/or {{Coord/display/title}}
on a single page? That has been a major problem. It's often hard to tell if there are duplicates, and it creates a mess in the title line. If we could check for that, that would be something.
Plastikspork
―Œ(talk) 01:27, 21 April 2010 (UTC)
Can someone add the field 'Governing body' to the infobox? Ideally it should be just underneath Government type. Az88 ( talk) 13:39, 21 April 2010 (UTC)
class="agent"
, as part of the emitted
hCard microformat.
Andy Mabbett (User:Pigsonthewing);
Andy's talk;
Andy's edits 10:29, 22 April 2010 (UTC)You can collapse:
<td><span class="agent">{{{governing_body}}}</span></td>
to:
<td class="agent">{{{governing_body}}}</td>
if you wish. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:41, 30 April 2010 (UTC)
Foo | |
---|---|
Population | 10 |
Foo | |
---|---|
Population | |
• Total | 10 |
Foo | |
---|---|
Population | 10 |
The code seems to include a {{{population}}} parameter, but it isn't documented - what's it supposed to do?-- Kotniski ( talk) 09:33, 29 April 2010 (UTC)
{{
editprotected}}
Please can an admin replace the code of the template with that in
the sandbox? This will provide the intended behaviour with the area total when {{{total_type}}} is set to , as illustrated by Test Case 2. (I.e. the area will go on the same line as the word "Area", as already happens with "Population".)--
Kotniski (
talk) 09:36, 29 April 2010 (UTC)
Yes, looking at this thread and that one, I think you're right - the "population" parameter was added precisely for this purpose. There ought to be an "area" parameter similarly. That would be a much better solution than the total_type hack. (But it would be necessary to make changes in the code for unit conversions and density calculation, to take account of the possible alternative parameters.)-- Kotniski ( talk) 09:50, 1 May 2010 (UTC)
User:Dr. Blofeld/Settlement Recently came across a black marker svg which I tested on a different infobox and I thought it looked excellent, much more precise. Have a look at the infobox on the right. Would anybody support a slight tweak to a black pin? Partly the reason is that red pin often clashes on a green map and people with color blindness can't see it. Dr. Blofeld White cat 19:50, 15 May 2010 (UTC)
The pin here could be made a little larger but it is smaller because on such a large scale map if the pin is too big it covers many miles in radius flooding the surrounding area. It needs to be as precise as you can make in on such a map. Dr. Blofeld White cat 09:51, 17 May 2010 (UTC)
Can someone move the demonym field into the Population section of the infobox? I see no reason why it should be in it's own section. —Preceding unsigned comment added by 80.41.5.13 ( talk) 09:15, 21 May 2010 (UTC)
The result of the move request was: no consensus to move page, per discussion below. GTBacchus( talk) 20:37, 9 June 2010 (UTC)
Template:Infobox settlement →
Template:Infobox populated place — To match the category names, per
Wikipedia talk:Categorization/Categorising human settlements and
Wikipedia:Categories for discussion/Log/2010 April 17#Category:Settlements. I think that the current name should remain as a redirect, in order to prevent the need to fix all the current uses of the template.
עוד מישהו
Od Mishehu 06:28, 1 June 2010 (UTC)