Template talk:Infobox settlement/Archive 16
area_magnitudeI put area_magnitude in Salvador, Bahia, but it has no effect... Is this right? Do I need to set another parameter? M4c0 (talk) 17:49, 19 March 2009 (UTC)
elevation footnotesAny idea why my elevation footnote isn't working at Leeds? PamD (talk) 19:18, 24 March 2009 (UTC)
TfD nomination of Template:Infobox Settlement 1
Using a ref inside the infoboxI had to make the fix shown here: to be able to supply the source to a population estimate. Not sure why I had to move the source. The broken version: produced this result (links and formatting mostly omitted):
This appears to be a bug, or maybe just a limitation I didn't see documented. Thanks. 68.167.254.74 (talk) 01:21, 4 April 2009 (UTC).
Population estimate dateYa, while editing Miami's infobox, I noticed that the date of the population estimate is bolded, unlike the date of the actual population. There should be some consistency to the format of those figures: either both are bolded, or not. I prefer not, in order to get "Estimate (xxxx)" back inline with their dash and data. Digirami (talk) 08:45, 7 April 2009 (UTC)
Flag iconsAfter a minor disagreement with another user at Miami, I decided to bring the question here, since he is using the documentation for the template to support his edits. My question is this: Are flag icons not permitted in the location subdivision fields? The documentation says no, but it has been my experience that the vast majority of articles for U.S. cities have national and state flags, and I have seen a fair number in articles for cities in other countries as well. From what I can tell (looking through the many archives), this was an issue when the template looked for a specific string to determine whether to use metric or Imperial units, but that was fixed long ago by adding the unit_pref parameter. Is there any reason why they should not be used, and if so, do we need to have a bot do a run through the thousands of articles to remove the flags? If there is no reason, can the template documentation be rewritten to remove the proscription? Horologium (talk) 21:08, 7 April 2009 (UTC)
template problem (coordinates)I'm having a problem with this template in La Gloria, Veracruz. Can someone fix it for me? Calliopejen1 (talk) 20:59, 28 April 2009 (UTC)
Left align/Hard break issue?I'm not sure where the problem is; there is far too much coding there for me to be able to follow it all. However, something appears to have been messed up, such that this template sits on the left side of the page, and pushes the rest of the article down below it, rather than having the introduction alongside a right-edge template. Could someone who has a better understanding of the code have a look and see about fixing it? -Bbik★ 06:01, 10 May 2009 (UTC) leader with disambiguationThe Mayor of Thompson, Manitoba is established as redlink Tim Johnston (politician). There's a dab page at Tim Johnston. I'd like to link to the redlink, but if I put "Tim Johnston (politician)" in the infobox (preferably piped) it doesn't link to anything. Presumably I'd have a similar problem if we actually had an article about the mayor, but using a disambiguator. I can see in the documentation how to avoid linking to the dab page (though it's probably better than nothing), but I would like to be able to link to the disambiguated name. Can it be done? If not, could I suggest it as an improvement? I'm sure there are plenty of civic leaders whose names are disambiguated in Wikipedia, and it seems a pity if we can't link to them. I guess the solution would be to have a new field for "leaderlink" etc, where we could put the destination name if not the same as the displayed name, to in effect create a piped link. PamD (talk) 12:45, 14 May 2009 (UTC) Time zone
I'm deactivating this request, pending response from the OP and discussion from others. — Martin (MSGJ · talk) 22:19, 14 June 2009 (UTC) Possible solution to refs in the infoboxAfter reviewing the problem it has been discovered that refs go haywire where the parser function {{formatnum:}} is used in the template with non-numeric data. I tested a fix in the current sandbox which can be seen in testcases. The fix essentially changes usages of formatnum to something like this:
The block first attempts to add a number to the variable. If that fails, the variable is passed through to the template as text. If successful, then the variable is formatted. I would like to update this protected template in the sandbox, but before I begin I would appreciate it if a template expert can look at this proposed change and let me know if I am missing any gotchas. Thank you. ZabMilenkoHow am I driving? 08:47, 16 June 2009 (UTC) use collected data for linking, enhance the template a bit| native_name = Praha | native_name_lang = cs ... use it to make a link: {{lang-cs|[[:cs:Praha|Praha]]}}
| subdivision_name = Czech Republic ... use it to make a link: [[Country]] | [[Czech Republic]]
>Population { ... so make a link: [[Population]] >Postal code { ... so make a link: [[Postal code]]
| elevation_footnotes = {{Fact}} ... this seems not to work at all! Oashi (talk) 12:05, 18 June 2009 (UTC) Add support for alt text
PS. Locos epraix made several changes to the sandbox after the diff referenced above. Locos epraix's changes, as far as I can see, kept all the alt-text-related changes, so as far as alt text goes it's fine if you also include Locos epraix's changes (I haven't evaluated them). Eubulides (talk) 08:18, 16 July 2009 (UTC)
Twin Cities - againIs it possible to make the Twin Cities section hold up to 25 twin cities? I am working on an article workover and would like to fit 23 twin cities to the infobox. Talk/♥фĩłдωəß♥\Work 16:51, 21 July 2009 (UTC)
Name vs Official name and Settlement Type
From: {{#if:{{both|{{{name|}}}|{{{settlement_type|}}}}}| <tr <!-- ***** category ***** --> class="mergedtoprow"> <td colspan="2" style="text-align:center;background:#cddeff;">— '''{{{settlement_type|}}}''' — </td> </tr> }} To: {{#if:{{{settlement_type|}}}| <tr <!-- ***** category ***** --> class="mergedtoprow"> <td colspan="2" style="text-align:center;background:#cddeff;">— '''{{{settlement_type|}}}''' — </td> </tr> }} If we still want it to be conditional, it should be conditional based on official_name rather than name. Thoughts?DCmacnut<> 17:44, 23 July 2009 (UTC)
I think I know the history of this. Originally "settlement_type" was not displayed at the top of the infobox (it served only(?) as the label for total population and area, before "total_type" was introduced), and there was no "name" parameter, only "official_name". The code was changed (largely by me) to introduce the possibility of displaying the settlement type at the top (and also to define a main "name" to be displayed before the "official name", and to do various things with the total labels). However, to avoid annoying people, the change was made in such a way that it wouldn't affect the appearance of existing infoboxes based on the previous setup. This was achieved by ensuring that if "official_name" was defined and not "name", then settlement_type would not be displayed at the top. But if people are now happy with it always being displayed, then it's fine to change it.--Kotniski (talk) 09:32, 24 July 2009 (UTC) starti do expect a Help text on this template somewhere. could someone tell me wher I can find that? JaapB (talk) 14:07, 30 November 2009 (UTC) population_demonym![]() Can this be enabled, please? Octane [improve me?] 17.03.09 2121 (UTC)
{{#if:{{{population_demonym|}}}| <tr class="mergedrow"> <td> - '''[[Demonym]]'''</td> <td>{{{population_demonym}}}</td> </tr> }}
I looked in the archives and could only find support for this change. I'm rather surprised it was never enacted previously, as the discussions indicated support but always ended in just dying off. I've added it at the end of the Population section. Shereth 14:20, 8 September 2009 (UTC)
Infobox CityITAnyone see any reason why {{Infobox CityIT}} cannot be merged here? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:38, 25 July 2009 (UTC)
Add "coordinates_footnotes" parameter & move "footnotes" parameter to bottom of infobox{{editprotected}} I have implemented the following suggestions at Template:Infobox settlement/sandbox and updated Template:Infobox settlement/testcases to show the results.
The changes required can be found in this diff and implemented by copying that sandbox code. -- Zyxw (talk) 04:32, 26 July 2009 (UTC)
U.S. Congressional district?Is there a convention for how this infobox could include a U.S. settlement's congressional district? Thanks. 67.101.6.42 (talk) 10:14, 3 August 2009 (UTC)
inconsistency between example and documentaion regarding population estimatesIn the documentation section Template:Infobox settlement#Population, Demographics, the description of the population_total parameter is Actual population (see below for estimates) and similarly, population_as_of has The year for the population total (usually a census year). Below, are the parameters population_est and pop_est_as_of. The example given at the end however, uses the 2008 population estimate in the population_total parameter. Is this a good example to illustrate usage? If there are separate parameters to distinguish between an actual census and population estimates, shouldn't the example follow suit? On a side note, the pop_est_as_of parameter doesn't format very well. For example, in this revision, there the estimate year causes a bad line break that makes it look as though the estimate is a heading for the Urban and Metro figures that follow, rather than for the estimate, which is on the preceding line. older ≠ wiser 12:39, 4 August 2009 (UTC)
|