Шаблон:Croatian Census 2011/док
{{#ifeq:док |док
|
{{#ifeq:show |show
|
| Ово је документациона подстраница за Шаблон:Croatian Census 2011. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
}}{{#if: |
| {{#ifexist:Шаблон:Croatian Census 2011
| [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
Usage
Parameters
TemplateData за Croatian Census 2011
{{#ifeq:док|sandbox||
}}
<templatedata>
{
"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 url 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"
}
}
}
</templatedata>
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{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Шаблон|
| main
| other
}}
}}
| main = {{#if:yellow|{{#ifexpr:21 < 7 OR 19.556 < 7 AND 1.0738392309266 < 7|}}}} | other | #default = }}{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Шаблон|Шаблон
| template
| other
}}
}}
| template | шаблон | šablon = {{#if:yellow|{{#ifexpr:21 < 7 OR 19.556 < 7 AND 1.0738392309266 < 7|}}}} | other | #default = }}_5177{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Шаблон|
| main
| other
}}
}}
| main = {{#if:#92FF92|{{#ifexpr:21 < 7 OR 16.941263011693 < 7 AND 1.2395770011661 < 7|}}}} | other | #default = }}{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Шаблон|Шаблон
| template
| other
}}
}}
| template | шаблон | šablon = {{#if:#92FF92|{{#ifexpr:21 < 7 OR 16.941263011693 < 7 AND 1.2395770011661 < 7|}}}} | other | #default = }}.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
| Template invocation | Result | Note | |||||
|---|---|---|---|---|---|---|---|
{{Croatian Census 2011|S}} |
[{{#switch: S | _zup{{{2}}} }}{{#if: | _{{{3}}} }}.html | _zup{{{2}}} }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: S | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: S | {{#if: | : {{#if: | Croatian Census 2011/док | {{#switch: | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|S|01}} |
[{{#switch: S | _zup01 }}{{#if: | _{{{3}}} }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: S | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: S | {{#if: 01 | : {{#if: | Croatian Census 2011/док | {{#switch: 01 | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|S|01|5410|title=Velika Gorica}} |
[{{#switch: S | _zup01 }}{{#if: 5410 | _5410 }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: S | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Velika Gorica }}{{#if: S | {{#if: 01Velika Gorica | : Velika Gorica }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || When used in the Velika Gorica article, the |
{{Croatian Census 2011|C}} |
[{{#switch: C | _zup{{{2}}} }}{{#if: | _{{{3}}} }}.html | _zup{{{2}}} }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: C | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: C | {{#if: | : {{#if: | Croatian Census 2011/док | {{#switch: | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|C|01}} |
[{{#switch: C | _zup01 }}{{#if: | _{{{3}}} }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: C | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: C | {{#if: 01 | : {{#if: | Croatian Census 2011/док | {{#switch: 01 | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|E}} |
[{{#switch: E | _zup{{{2}}} }}{{#if: | _{{{3}}} }}.html | _zup{{{2}}} }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: E | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: E | {{#if: | : {{#if: | Croatian Census 2011/док | {{#switch: | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|E|01}} |
[{{#switch: E | _zup01 }}{{#if: | _{{{3}}} }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: E | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: E | {{#if: 01 | : {{#if: | Croatian Census 2011/док | {{#switch: 01 | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|R}} |
[{{#switch: R | _zup{{{2}}} }}{{#if: | _{{{3}}} }}.html | _zup{{{2}}} }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: R | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: R | {{#if: | : {{#if: | Croatian Census 2011/док | {{#switch: | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
{{Croatian Census 2011|R|01}} |
[{{#switch: R | _zup01 }}{{#if: | _{{{3}}} }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: R | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: R | {{#if: 01 | : {{#if: | Croatian Census 2011/док | {{#switch: 01 | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 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}} |
[{{#switch: | _zup{{{2}}} }}{{#if: | _{{{3}}} }}.html | _zup{{{2}}} }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | zup{{{2}}} | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/results/htm/E01_01_10/e01_01_10_zup01.html
}} „{{#switch: | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Population by Religion, by Towns/Municipalities, 2011 Census: County of Zagreb }}{{#if: | {{#if: 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. 1. 12. 2012. || Exactly the same result as in the previous example. |
{{Croatian Census 2011|T|01}} |
[{{#switch: T | _zup01 }}{{#if: | _{{{3}}} }}.html | _zup01 }}.html | zup01 | RH }}.html | zup01 | RH }}.html | zup01 | RH }}.html | http://www.dzs.hr/Eng/censuses/census2011/censuslogo.htm
}} „{{#switch: T | S = Population by Age and Sex, by Settlements, 2011 Census | C = Population Contingents, by Towns/Municipalities, 2011 Census | E = Population by Ethnicity, by Towns/Municipalities, 2011 Census | R = Population by Religion, by Towns/Municipalities, 2011 Census | T = Population by Mother Tongue, by Towns/Municipalities, 2011 Census | Census of Population, Households and Dwellings 2011 }}{{#if: T | {{#if: 01 | : {{#if: | Croatian Census 2011/док | {{#switch: 01 | 01 = County of Zagreb | 02 = County of Krapina-Zagorje | 03 = County of Sisak-Moslavina | 04 = County of Karlovac | 05 = County of Varaždin | 06 = County of Koprivnica-Križevci | 07 = County of Bjelovar-Bilogora | 08 = County of Primorje-Gorski kotar | 09 = County of Lika-Senj | 10 = County of Virovitica-Podravina | 11 = County of Požega-Slavonia | 12 = County of Slavonski Brod-Posavina | 13 = County of Zadar | 14 = County of Osijek-Baranja | 15 = County of Šibenik-Knin | 16 = County of Vukovar-Sirmium | 17 = County of Split-Dalmatia | 18 = County of Istria | 19 = County of Dubrovnik-Neretva | 20 = County of Međimurje | 21 = City of Zagreb }} }} }} }}”]. Census of Population, Households and Dwellings 2011. Zagreb: Croatian Bureau of Statistics. 1. 12. 2012. || |
See also
External links