ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Infobox constituency/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

This template is used to provide an infobox for electoral districts.

Usage[ਸੋਧੋ]

Basic Version[ਸੋਧੋ]

This is a basic version of the template that is suitable for general use; most optional parameters have been removed.

{{{name}}}
{{{parl_name}}} ਦਾ
ਸਾਬਕਾ {{{type}}} [[{{{constituency_link}}}|ਹਲਕਾ]]
[[File:{{{map1}}}Constituency.svg|{{{map_size}}}|alt=Outline map]]
Boundary of {{{name}}} in {{{map_entity}}} for the {{{map_year}}} general election
ਜ਼ਿਲ੍ਹਾ{{{district}}}
ਖੇਤਰ{{{region}}}
ਜਨਸੰਖਿਆ{{{population}}}
ਵੋਟਰ{{{electorate}}}
ਪ੍ਰਮੁੱਖ ਬਸਤੀਆਂ{{{towns}}}
ਸਾਬਕਾ ਹਲਕਾ
ਬਣਨ ਦਾ ਸਮਾਂ{{{year}}}
ਭੰਗ ਕੀਤਾ{{{abolished}}}
ਸੀਟਾਂ{{{seats}}}
ਪਾਰਟੀ{{{party}}}
ਮੈਂਬਰ{{{members}}}
ਲੋਕਲ ਕੌਂਸਲ{{{local_council}}}
ਪੁਰਾਣਾ ਨਾਮ{{{previous}}}
ਨਵਾਂ ਨਾਮ{{{next}}}
{{Infobox constituency
|name              = 
|type              = 
|constituency_link = 
|parl_name         = <!-- name of the law making body -->
|map1              = 
|map_size          = 
|image             = 
|image_size        =
|map_entity        = 
|map_year          = 
|caption           = 
|district          = 
|region            = 
|population        = 
|electorate        = 
|towns             = 
|future            = 
|year              = <!-- year of establishment -->
|abolished         = 
|members           = 
|seats             = 
|elects_howmany    = 
|party             = 
|local_council     = 
|next              = 
|previous          = 
}}

Full Blank Template[ਸੋਧੋ]

This is the full version of the template with all its optional parameters displayed.

{{{name}}}
{{{parl_name}}} ਦਾ
ਸਾਬਕਾ {{{constituency_type}}}
[[File:{{{map1}}}Constituency.svg|{{{map_size}}}|alt=Outline map]]
Boundary of {{{name}}} in {{{map_entity}}} for the {{{map_year}}} general election
[[File:{{{map2}}}.svg|{{{map_size}}}|alt=Outline map]]
Location of {{{map_entity}}} within {{{region}}}
[[File:{{{map3}}}.svg|{{{map_size}}}|alt=Outline map]]
Location of {{{map_entity}}} within {{{region}}}
[[File:{{{map4}}}|{{{map_size}}}|alt=Outline map]]
Location of {{{name}}} within {{{map_entity}}}
{{{district_label}}}{{{district}}}
{{{region_label}}}{{{region}}}
ਜਨਸੰਖਿਆ{{{population}}}
ਵੋਟਰ{{{electorate}}}
ਪ੍ਰਮੁੱਖ ਬਸਤੀਆਂ{{{towns}}}
ਸਾਬਕਾ {{{constituency_type}}}
ਬਣਨ ਦਾ ਸਮਾਂ{{{year}}}
{{{abolished_label}}}{{{abolished}}}
ਸੀਟਾਂ{{{seats}}}
{{{party_label}}}{{{party}}}
{{{members_label}}}{{{members}}}
{{{local_council_label}}}{{{local_council}}}
ਪੁਰਾਣਾ ਨਾਮ{{{previous}}}
ਨਵਾਂ ਨਾਮ{{{next}}}
{{{blank1_name}}}{{{blank1_info}}}
{{{blank2_name}}}{{{blank2_info}}}
{{{blank3_name}}}{{{blank3_info}}}
{{{blank4_name}}}{{{blank4_info}}}
{{Infobox constituency
|name              = 
|type              = 
|constituency_type = 
|constituency_link = 
|parl_name         = <!-- name of the law making body -->
|map1              = 
|map_size          = 
|image             = 
|image_size        =
|map_entity        = 
|map_year          = 
|caption           = 
|map2              = 
|image2            = 
|caption2          = 
|map3              = 
|image3            = 
|caption3          = 
|map4              = 
|image4            = 
|caption4          = 
|district_label    = <!-- can be State/Province, region, county -->
|district          = 
|region_label      = <!-- can be State/Province, region, county -->
|region            = 
|population        = 
|electorate        = 
|towns             = 
|future            = 
|year              = <!-- year of establishment -->
|abolished_label   = 
|abolished         = 
|members_label     = 
|members           = 
|seats             = 
|elects_howmany    = 
|party_label       = <!-- defaults to "Party" -->
|party             = 
|local_council_label = 
|local_council     = 
|next              = 
|previous          = 
|blank1_name       = 
|blank1_info       = 
|blank2_name       = 
|blank2_info       = 
|blank3_name       = 
|blank3_info       = 
|blank4_name       = 
|blank4_info       = 
}}

TemplateData[ਸੋਧੋ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox constituency

No description.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
namename

The name of the electoral district

Stringrequired
Native namenativename

The native name of the constitutency

Unknownoptional
typetype

The type of electoral district

Unknownsuggested
Constituency typeconstituency_type

Label/type for the constituency parameter, otherwise shows as 'constituency'.

Unknownoptional
Constitutency wikilinkconstituency_link

The wikilink of the constituency

Unknownoptional
Parliament nameparl_name

The wikilink of the parliament name

Example
Parliament of Singapore, Legisltive Council of Hong Kong
Unknownsuggested
Map name 1map1

Filename of map ending with Constituency.svg

Example
typing 'XXX' generates [[File:XXX Constituency.svg]]
Stringsuggested
Map name 2map2

Filename of map ending with .svg

Example
typing 'XXX' generates [[File:XXX.svg]]
Stringoptional
Map name 3map3

Filename of map ending with .svg

Example
typing 'XXX' generates [[File:XXX.svg]]
Stringoptional
Map name 4map4

Filename of map

Example
typing 'XXX' generates [[File:XXX]]
Stringoptional
Map sizemap_size

The map size in pixels

Example
240, 240px
Unknownoptional
Map entitymap_entity

The location of a specified entity on a map

Stringoptional
Map yearmap_year

The year of the general election in which the map boundaries were drawn

Numberoptional
Image 1image

Full filename of a map image

Example
Image:XXX-constituency.png
Fileoptional
Image 2image2

Full filename of a map image

Example
Image:XXX-constituency.png
Fileoptional
Image 3image3

Full filename of a map image

Example
Image:XXX-constituency.png
Fileoptional
Image 4image4

Full filename of a map image

Example
Image:XXX-constituency.png
Fileoptional
Image sizeimage_size

The map image size in pixels

Example
240, 240px
Unknownoptional
Caption 1caption

Caption for map/image 1

Unknownoptional
Caption 2caption2

Caption for map/image 2

Unknownoptional
Caption 3caption3

Caption for map/image 3

Unknownoptional
Caption 4caption4

Caption for map/image 4

Unknownoptional
District labeldistrict_label

Label for the district parameter, otherwise shows as 'District'.

Unknownoptional
districtdistrict

The district(s) in which the constituency is located at.

Unknownoptional
Region labelregion_label

Label for the region parameter, otherwise shows as 'Region'.

Unknownoptional
regionregion

The region, state or province in which the constituency is located at.

Unknownoptional
Polling divisionspolling_divisions

Name of the polling divisions

Unknownoptional
populationpopulation

The total population within the constituency.

Numberoptional
electorateelectorate

The number of eligible voters within the constituency.

Numbersuggested
Major settlementstowns

Major settlements near the constituency

Unknownoptional
areaarea

The area of the constituency

Example
100 square kilometres
Unknownoptional
Future?future

If set to any value, the sub-header will display as 'Future constituency'.

Unknownoptional
yearyear

The year the constituency was first established.

Numberoptional
Abolished labelabolished_label

Label for the abolished parameter, otherwise shows as 'Abolished'.

Unknownoptional
abolishedabolished

The year the constituency was abolished. If the parameter is used, the infobox header will include the word 'Former'.

Numberoptional
Number of memberselects_howmany

The number of people elected to Parliament by the constitutency.

Numberoptional
Seatsseats

(replaces Number of members) The number of seats in Parliament represented by the constituency.

Numbersuggested
Party labelparty_label

Label for the party parameter, otherwise shows as 'Party'.

Unknownoptional
Partyparty

The governing party of the electoral district.

Unknownsuggested
Member(s) labelmember_label members_label

Label for the members parameter, otherwise shows as 'Member(s)'.

Unknownoptional
Member(s)member members

The number of people governing the constituency.

Unknownoptional
Local council labellocal_council_label

Label for the local_council parameter, otherwise shows as 'Local council'.

Unknownoptional
Local councillocal_council

The name of the local council or office in charge of the constituency.

Unknownoptional
Subdivisions labelparts_label

Label for the parts parameter, otherwise shows as 'Subdivisions'.

Unknownoptional
Subdivisionsparts

Name of subdivisions

Unknownoptional
Created fromprevious

The name of the previous electoral district in which the current electoral district was carved out or merged from.

Unknownoptional
Replaced bynext

The name of the new electoral district carved out or merged from the current electoral district.

Unknownoptional
Extra parameter 1 labelblank1_name

Label for extra parameter 1

Unknownoptional
Extra parameter 1blank1_info

Extra parameter 1

Unknownoptional
Extra parameter 2 labelblank2_name

Label for extra parameter 2

Unknownoptional
Extra parameter 2blank2_info

Extra parameter 2

Unknownoptional
Extra parameter 3 labelblank3_name

Label for extra parameter 3

Unknownoptional
Extra parameter 4blank3_info

Extra parameter 3

Unknownoptional
Extra parameter 4 labelblank4_name

Label for extra parameter 4

Unknownoptional
Extra parameter 4blank4_info

Extra parameter 4

Unknownoptional
Extra parameter 5 labelblank5_name

Label for extra parameter 5

Unknownoptional
Extra parameter 5blank5_info

Extra parameter 5

Unknownoptional