Template talk:NZ population data 1992
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Area/density data
[edit]I like this, stumbled upon it when I was putting area and population density into List of cities in New_Zealand.
- I'm not so familiar with templates but is there any chance we could add more fields to this (Area/density)?
Nzroller (talk) 10:20, 10 March 2009 (UTC)
- Thanks, I think a new template for area data is the way to go, and density can be calculated with population/area (as is done in Territorial Authorities of New Zealand tables), avoiding maintenance/errors of a third set of data. XLerate (talk) 03:05, 11 March 2009 (UTC)
South Wairarapa District
[edit]Hello, this template was added to South Wairarapa District along with the ref code listed in the documentation, but the ref isn't working, and I can't figure out why. Can someone who understands the syntax of this template please do something about it? Thanks. - Salamurai (talk) 02:55, 23 May 2010 (UTC)
- Ok, I've fixed the article and adjusted the template documentation, the "ref name=" works after the reference from the template is used at least once in the article. XLerate (talk) 03:21, 23 May 2010 (UTC)
- Thanks! - Salamurai (talk) 05:26, 23 May 2010 (UTC)
Problems in PDF files and WikiReader
[edit]I have been aware for some time that a PDF file generated using the "Create a book" or "Download as PDF" options skip this template entirely, resulting in sentences such as "The population was estimated to be at the June 2009 estimate, up from 47,400 in 2001.", where the population is supposed to appear after the word "be". Today I played with a WikiReader and found the same problem. Is it possible to change this template so that these problems are solved? For an example article, I'm looking at Whangarei, where the sentence quoted above appears at the end of the lede paragraph.-gadfium 22:17, 16 August 2010 (UTC)
- I'm taking a look at this issue now. Previously for Far North District the population number was appearing, and the density displayed an error, but today both are blank.
I don't see this template listed at Category:Exclude in print or MediaWiki:PDF Template Blacklist."June 2009" and the reference appearing mean the template isn't flagged for exclusion.
- WikiReader is a hardware device with semi-annual offline updates, do you have a loan of the device and capability to check changes? XLerate (talk) 01:01, 17 August 2010 (UTC)
- Ok, I've made this change to avoid the ifempty template, PDF creation for Whangarei looks ok to me now. I've added hide in print to the Far North District density, so the unsightly error text doesn't appear. XLerate (talk) 02:24, 17 August 2010 (UTC)
- Excellent, thank you. I confirm that the template is now displaying population correctly in PDF files. I have the WikiReader for about another month (it's going to be an 80th birthday gift to a non-computer literate relative), but I cannot check whether the change will work until the next update for it is issued, which will be in three or six months time.-gadfium 05:14, 17 August 2010 (UTC)
- For the WikiReader, does "June 2009" or the reference appear, or nothing at all? How about other templates, do {{As of}} and {{TKI}} look ok for example? I've e-mailed their support asking for a way to test today how a page will be rendered by the device. XLerate (talk) 01:51, 18 August 2010 (UTC)
- June 2009 appears, as in the example sentence I gave above. {{As of}} works. The WikiReader does not display material within <ref> tags (instead including a boilerplate copyright message and a url for the relevant article), so I don't think TKI is testable. If you get a useful reply from their help desk, please post it somewhere, perhaps at Talk:WikiReader, or link to the post from there so others will find it.-gadfium 03:51, 18 August 2010 (UTC)
- So templates work in general, sounds like it might be a common issue with PDF creation. I've received a reply to the e-mail, there's 2 options, follow the method here, or forward the article names to the support e-mail. I requested Whangarei, Wellington, Far North District (Wellington has a calculation), and expect to hear back Monday or Tuesday. XLerate (talk) 10:39, 21 August 2010 (UTC)
- The reply is, fix for this released in the Fall 2010 update, can it wait until then? Be nice to have it resolved prior to being gifted, if you want I'll forward you the e-mail, I think any update will need access to the device. XLerate (talk) 09:02, 31 August 2010 (UTC)
- That's great. I expect to update the device from time to time after gifting it. I'll send you my email address.-gadfium 20:09, 31 August 2010 (UTC)
I installed the Fall 2010 update in the WikiReader today, and this does indeed fix the problem.-gadfium 04:19, 30 January 2011 (UTC)
- Good to hear it's been resolved, thanks for the update. XLerate (talk) 06:51, 30 January 2011 (UTC)
Urban areas not updated at same time
[edit]Statistics NZ have published updated estimates for regions and territorial authorities, but not yet for urban areas. This template seems to assume they will all be updated at the same time. I'm not sure if it's worth fixing though, since hopefully Statistics NZ will soon update the urban area figures, and Wikidata may soon be able to replace the template altogether. --Avenue (talk) 13:26, 3 November 2013 (UTC)
Case changes
[edit]If anyone is planning to update this template, now that {{NZ population data 2018}} is seeing more use, be aware that the name with "region", "district", "city" and "local board area" in them have changed to use lower case, and this will break any call to the template where uppercase is used.-gadfium 01:38, 16 January 2020 (UTC)
Double full stop after the "Retrieved" date
[edit]Something is putting a double full stop after the "Retrieved" date in refs, and I think it's this template. I can't figure out how to check it - would that be because I don't have template editor rights? Nurg (talk) 05:31, 18 January 2020 (UTC)
- Fixed the double full stop between the two parts of the reference. {{Cite web}} is adding a full stop, so this template shouldn't have been including one explicitly.-gadfium 06:14, 18 January 2020 (UTC)
- Thanks. Nurg (talk) 06:21, 18 January 2020 (UTC)