Jump to content

Template:Croatian Census 2011/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Parameters

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Croatian Census 2011 in articles based on its TemplateData.

TemplateData for Croatian Census 2011

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.

Template parameters

ParameterDescriptionTypeStatus
Type of statistic1

Type of statistic table that is cited. See "Table types" below.

Stringsuggested
County code2

County code for the per-county statistics. See "County, town and municipality codes" below.

Numberoptional
Town/municipality code3

Town or municipality code for the per-town or per-municipality statistics. See "County, town and municipality codes" below.

Numberoptional
URLurl

URL. Overrides the link that is otherwise generated from the first three unnamed parameters.

Stringoptional
Titletitle

Title. May be used to override the default title, if necessary. If <code>url</code> is supplied, title must be supplied too.

Stringoptional
Tab IDtabid

ID of the referenced data tab. If table type N is supplied, the tab ID must be supplied too.

Numberoptional
Tab nametabname

Name of the referenced data tab. If table type N is supplied, the tab name must be supplied too.

Stringoptional
Formatformat

Format of the target document if it is not a HTML page (e.g. "Microsoft Excel document").

Stringoptional
Anchor idref

Anchor id, used for generating wikilinks to full references from shortened notes. See {{tl|Harv}}, {{tl|Sfn}} and {{tl|SfnRef}} for details.

Stringoptional
Access dateaccessdate

Last access date.

Dateoptional

Table types

[edit]

See #Examples. FIXME extract the list here.

County, town and municipality codes

[edit]

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_zup14_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:

{{Croatian Census 2011|S|14|5177}}

Examples

[edit]
Template invocation Result Note
{{Croatian Census 2011|S}} "Population by Age and Sex, by Settlements, 2011 Census". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|S|01}} "Population by Age and Sex, by Settlements, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|S|01|5410|title=Velika Gorica}} "Population by Age and Sex, by Settlements, 2011 Census: Velika Gorica". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012. When used in the Velika Gorica article, the title parameter is not necessary, since it will default to the article's name.
{{Croatian Census 2011|C}} "Population Contingents, by Towns/Municipalities, 2011 Census". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|C|01}} "Population Contingents, by Towns/Municipalities, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|E}} "Population by Ethnicity, by Towns/Municipalities, 2011 Census". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|E|01}} "Population by Ethnicity, by Towns/Municipalities, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|R}} "Population by Religion, by Towns/Municipalities, 2011 Census". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|R|01}} "Population by Religion, by Towns/Municipalities, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011 | url=http://www.dzs.hr/Eng/censuses/census2011/results/htm/E01_01_10/e01_01_10_zup01.html | title=Population by Religion, by Towns/Municipalities, 2011 Census: County of Zagreb}} "Population by Religion, by Towns/Municipalities, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012. Exactly the same result as in the previous example.
{{Croatian Census 2011|T|01}} "Population by Mother Tongue, by Towns/Municipalities, 2011 Census: County of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|N|tabid=31|tabname=Most frequent surnames}} "Most frequent surnames, 2011 Census". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.
{{Croatian Census 2011|N|tabid=03|21|tabname=Population contingents}} "Population contingents, 2011 Census: City of Zagreb". Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. December 2012.

See also

[edit]
[edit]