Difference between revisions of "Template:Croatian Census 2011/doc"

From blackwiki
Jump to navigation Jump to search
imported>GregorB
(+Templatedata)
imported>GregorB
(Old table not needed now)
Line 2: Line 2:
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
  
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.
+
==Usage==
 
+
===Parameters===
==TemplateData==
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 44: Line 43:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
=== Usage ===
 
The template provides the following parameters:
 
 
{| class="wikitable" border="1"
 
|+ Template parameters
 
! Parameter !! Description
 
|-
 
| {{nowrap|<code><Unnamed parameter 1></code>}} || Supplies the type of statistic table that is cited. See "Table types" below.
 
|-
 
| {{nowrap|<code><Unnamed parameter 2></code>}} || Supplies the county code for the per-county statistics. See "County, town and municipality codes" below.
 
|-
 
| {{nowrap|<code><Unnamed parameter 3></code>}} || Supplies the town or municipality code for the per-town or per-municipality statistics. See "County, town and municipality codes" below.
 
|-
 
| <code>url</code> || Supplies the URL.
 
|-
 
| <code>title</code> || Supplies the title. May be used to override the default title, if necessary. If <code>url</code> is supplied, title must be supplied too.
 
|-
 
| <code>format</code> || Supplies the format of the target document if it is not a HTML page (e.g. "Microsoft Excel document").
 
|-
 
| <code>ref</code> || Supplies the anchor id, used for generating wikilinks to full references from shortened notes. See {{tl|Harv}}, {{tl|Sfn}} and {{tl|SfnRef}} for details.
 
|-
 
| <code>accessdate</code> || Last access date.
 
|}
 
  
 
====Table types====
 
====Table types====

Revision as of 19:52, 7 October 2014

Usage

Parameters

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
11

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

Stringoptional
22

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

Numberoptional
33

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
Formatformat

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

Stringoptional
Refref

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

Stringoptional
Accessdateaccessdate

Last access date.

Dateoptional

Table types

See #Examples. 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_zup14_5177.html

In the above URL, the county code is tagged yellow, while the municipality code is tagged green.

Examples

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.

External links