લખાણ પર જાઓ

ઢાંચો:Infobox Indian constituency/doc

વિકિપીડિયામાંથી
This template is originally a merged version of the work of User:MJL, User:Natrajdr, and several other editors who were involved in developing {{Infobox Indian state legislative assembly constituency}} and {{Infobox Lok Sabha Constituency}}.
{{{name}}}
ભારતીય મતવિસ્તાર
[[File:{{{map_image}}}|frameless|alt={{{map_alt}}}]]
{{{map_caption}}}
બેઠક વિગતો
દેશભારત
રાજ્ય{{{state}}}
પ્રાંત{{{division}}}
જિલ્લો{{{district}}}
લોક સભા વિસ્તાર{{{loksabha_cons}}}
વિધાનસભા મતવિસ્તારો{{{assembly_cons}}}
સ્થાપિત{{{established}}}
કુલ મતદાતા{{{electors}}}
આરક્ષિત{{{reservation}}}
લોક સભા સભ્ય
{{{current_office}}}
[[File:{{{incumbent_image}}}|{{{incumbent_image_size}}}|alt={{{incumbent_image_alt}}}]]
પદ પર
{{{mp}}}
પક્ષ{{{party}}}
ચૂંટાયેલ વર્ષ{{{latest_election_year}}}
Preceded by{{{preceded_by}}}

The Infobox Indian constituency template is intended to be used on pages related to Indian State Legislative Assembly Constituencies and Lok Sabha Constituencies. It is important to note that this template is not suitable for towns, villages, or blocks, and in such cases, the {{Infobox settlement}} should be used.

While most parameters of this Infobox can be used for both types of constituencies, there are certain parameters that are specific to one type of constituency or the other. These parameters are detailed below. Overall, this Infobox is versatile and useful for presenting key information about Indian constituencies in a clear and concise manner.

Syntax for state legislative assembly constituency

[ફેરફાર કરો]
{{Infobox Indian constituency
| name                   = 
| type                   = SLA
| map_image              = 
| map_caption            = 
| map_alt                = 
| state                  = 
| district               = 
| division               = 
| loksabha_cons          = 
| constituency_no        = 
| established            = 
| reservation            = <!-- SC, ST or None -->
| abolished              = 
| mla                    = 
| party                  = 
| alliance               = 
| latest_election_year   = 
| electors               = 
}}

Syntax for Lok Sabha Constituency

[ફેરફાર કરો]
{{Infobox Indian constituency
| name                   =
| type                   = LS
| map_image              = 
| map_caption            = 
| map_alt                = 
| state                  =
| union_territory        =
| established            =
| abolished              =
| assembly_cons          = 
| latest_election_year   =
| reservation            = 
| mp                     =
| party                  =
| electors               =
| preceded_by            =
}}

NOTE: This template will by default display some data such as region, current_office, etc., which are directly dependent on the "state" parameter.

Example: If |state=Kerala then the region would be South India and the current_office would be 15th Kerala Legislative Assembly (for a Kerala assembly constituency) or 17th Lok Sabha (for a Lok Sabha constituency).

name

Name of the constituency without mentioning the parliament type. If empty, it will automatically display the "PAGENAME".

type

Type of the constituency. If it is a State Legislative Assembly Constituency, then enter "SLA". If it is a Lok Sabha constituency, then enter "LS".

constituency_no

The serial number of the constituency among all the constituencies of the state assembly or Lok Sabha.

map_image

A map of the constituency area but do not add MLA's or MP's image here.

map_alt

An alternative text for the displayed image.

map_caption

A specific text describing the image.

state

Name of the state of the constituency. Must include the name of the state.

union_territory

Name of the union territory of the constituency.

division

Name of the state division in which the district is located for the constituency.

district

Name of the district in which the constituency is located.

loksabha_cons

Name of the Lok Sabha constituency under which the constituency is located.

assembly_cons

If it is a Lok Sabha constituency, then enter the name of the Vidhan Sabha constituencies that come under this LS constituency. Clearly, do not use this field if it is a State Legislative Assembly constituency.

established

The date when the constituency was created or established.

abolished

If it is a former constituency, then enter the date when it was abolished or merged.

electors

Total number of electors as of the last or most recent election.

reservation

The reservation category of the constituency. If it does not have a reservation, then enter "None".

incumbent_image

Image of the current MLA or MP.

mp

Name of the current MP of the Lok Sabha constituency.

mla

Name of the current MLA of the Legislative Assembly.

party

Name of the political party of the MLA or MP.

alliance

Name of the alliance of the party.

latest_election_year

The year in which the MLA or MP was elected, i.e., the year of the last election.

preceded_by

Name of the last MLA or MP before the current one.

Tracking categories

[ફેરફાર કરો]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox Indian constituency in articles based on its TemplateData.

TemplateData for Infobox Indian constituency

TemplateData

Infobox for Indian Lok Sabha or Vidhan Sabha constituencies. Visit Template:Infobox Indian constituency/doc, for usage information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the constituency without mentioning the parliament type. If empty, it will automatically display the {{PAGENAME}}.

Stringrequired
Typetype

Type of the constituency. If it is a State Legislative Assembly Constituency, then enter "SLA". If it is a Lok Sabha constituency, then enter "LS".

Suggested values
SLA LS
Stringrequired
Constituency No.constituency_no

The serial number of the constituency among all the constituencies of the state assembly or Lok Sabha.

Numberoptional
Map Imagemap_image image

A map of the constituency area, but do not add MLA's or MP's image here.

Fileoptional
Map Altmap_alt alt

An alternative text for the displayed image.

Stringoptional
Map Captionmap_caption caption

Caption for the map.

Stringoptional
Statestate

Name of the state of the constituency. Must include the name of the state

Suggested values
Andhra Pradesh Arunachal Pradesh Assam Bihar Chhattisgarh Delhi Goa Gujarat Haryana Himachal Pradesh Jharkhand Karnataka Kerala Madhya Pradesh Maharashtra Manipur Meghalaya Mizoram Nagaland Odisha Punjab Rajasthan Sikkim Tamil Nadu Telangana Tripura Uttarakhand Uttar Pradesh West Bengal
Stringrequired
Union Territoryunion_territory

Name of the union territory of the constituency.

Suggested values
Delhi Jammu and Kashmir Puducherry
Stringoptional
Divisiondivision

Name of the state division in which the district is located for the constituency.

Stringoptional
Districtdistrict

Name of the district in which the constituency is located.

Stringoptional
Lok Sabha constituencyloksabha_cons constituency

Name of the Lok Sabha constituency under which the constituency is located

Stringoptional
Assembly Constituenciesassembly_cons

If it is a Lok Sabha constituency, then enter the name of the Vidhan Sabha constituencies that come under this LS constituency. Clearly, do not use this field if it is a State Legislative Assembly constituency.

Stringoptional
Establishedestablished

The year when the constituency was created or established.

Stringoptional
Abolishedabolished

For former constituencies, the year when it was abolished or merged.

Stringoptional
Electorselectors

Total number of electors, as of the latest election.

Stringoptional
Reservationreservation

The reservation category of the constituency. If it does not have a reservation, then enter "None".

Suggested values
None ST SC BL Sangha
Stringoptional
Incumbent Imageincumbent_image

Image of the current MLA or MP.

Fileoptional
incumbent_image_sizeincumbent_image_size

no description

Unknownoptional
incumbent_image_altincumbent_image_alt

no description

Stringoptional
Current MPmp

Name of the current MP of the Lok Sabha constituency.

Stringoptional
Current MLAmla

Name of the current MLA of the Legislative Assembly.

Stringoptional
Current MLA/MP's Partyparty

Name of the political party of the MLA or MP.

Stringoptional
Alliancealliance

Name of the alliance of the party.

Stringoptional
Latest election yearlatest_election_year year

The year in which the MLA or MP was elected, i.e., the year of the last election.

Stringoptional
Preceded Bypreceded_by

Name of the last MLA or MP, before the current one.

Stringoptional
parl_nameparl_name

no description

Stringdeprecated