Template:Croatian Census 2011/doc

Parameters
{	"description": "This template can be used for citing the final results of the 2011 Croatian census, published by the Croatian Bureau of Statistics in December 2012.", "params": { "1": {			"description": "Type of statistic table that is cited. See \"Table types\" below.", "type": "string", "label": "Type of statistic", "suggested": true },		"2": {			"description": "County code for the per-county statistics. See \"County, town and municipality codes\" below.", "type": "number", "label": "County code" },		"3": {			"description": "Town or municipality code for the per-town or per-municipality statistics. See \"County, town and municipality codes\" below.", "type": "number", "label": "Town/municipality code" },		"url": { "description": "URL. Overrides the link that is otherwise generated from the first three unnamed parameters.", "type": "string", "label": "URL" },		"title": { "description": "Title. May be used to override the default title, if necessary. If  is supplied, title must be supplied too.", "type": "string", "label": "Title" },		"format": { "description": "Format of the target document if it is not a HTML page (e.g. \"Microsoft Excel document\").", "type": "string", "label": "Format" },		"ref": { "description": "Anchor id, used for generating wikilinks to full references from shortened notes. See Harv, Sfn and SfnRef for details.", "type": "string", "label": "Anchor id" },		"accessdate": { "description": "Last access date.", "type": "date", "label": "Access date" }	} }

Table types
See. FIXME extract the list here.

County, town and municipality codes
For the two-digit county codes, see ISO 3166-2:HR.

County, town and municipality codes are easiest extracted from the URL of the corresponding page. For example, population by age and sex for the Vuka municipality, Osijek-Baranja County, can be found at the following URL:


 * http://www.dzs.hr/Eng/censuses/census2011/results/htm/E01_01_01/e01_01_01_zup 14_5177.html

In the above URL, the county code is tagged yellow, while the municipality code is tagged green, so the corresponding template code would be: