Template:Infobox Indian constituency/doc
This is a documentation subpage for Template:Infobox Indian constituency. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,500 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
{{{name}}} | |
---|---|
Indian electoral constituency | |
[[File:{{{map_image}}}|frameless|alt={{{map_alt}}}]] | |
Constituency details | |
Country | India |
State | {{{state}}} |
Division | {{{division}}} |
District | {{{district}}} |
LS constituency | {{{loksabha_cons}}} |
Assembly constituencies | {{{assembly_cons}}} |
Established | {{{established}}} |
Total electors | {{{electors}}} |
Reservation | {{{reservation}}} |
Member of Parliament | |
[[File:{{{incumbent_image}}}|{{{incumbent_image_size}}}|alt={{{incumbent_image_alt}}}]] | |
Incumbent {{{mp}}} | |
Party | {{{party}}} |
Elected year | {{{latest_election_year}}} |
Preceded by | {{{preceded_by}}} |
Lua error in Module:Check_for_clobbered_parameters at line 60: attempt to call field '_warning' (a nil value).
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.
Usage
Syntax for state legislative assembly constituency
<syntaxhighlight lang="wikitext">
Constituency details | |
---|---|
Country | India |
</syntaxhighlight>
Syntax for Lok Sabha Constituency
<syntaxhighlight lang="wikitext">
Constituency details | |
---|---|
Country | India |
</syntaxhighlight>
Parameters
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 theregion
would be South India and thecurrent_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
- Category:Pages using infobox Indian constituency with unknown parameters (0)
- Category:Pages using Infobox Indian constituency with conflicting parameters (0)
- Category:Pages using Infobox Indian constituency with deprecated parameters (0)
Template data
TemplateData for Infobox Indian constituency
TemplateData
|
---|
<templatedata> { "params": { "name": { "label": "Name", "required": true, "description": "Name of the constituency without mentioning the parliament type. If empty, it will automatically display the Infobox Indian constituency/doc.", "type": "string" }, "abolished": { "label": "Abolished", "description": "For former constituencies, the year when it was abolished or merged.", "type": "string" }, "constituency_no": { "label": "Constituency No.", "description": "The serial number of the constituency among all the constituencies of the state assembly or Lok Sabha.", "type": "number" }, "state": { "label": "State", "description": "Name of the state of the constituency. Must include the name of the state", "type": "string", "required": true, "suggestedvalues": [ "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" ] }, "division": { "label": "Division", "description": "Name of the state division in which the district is located for the constituency.", "type": "string" }, "district": { "label": "District", "description": "Name of the district in which the constituency is located.", "type": "string" }, "established": { "label": "Established", "description": "The year when the constituency was created or established.", "type": "string" }, "electors": { "label": "Electors", "description": "Total number of electors, as of the latest election.", "type": "string" }, "mla": { "label": "Current MLA", "description": "Name of the current MLA of the Legislative Assembly.", "type": "string" }, "incumbent_image": { "label": "Incumbent Image", "description": "Image of the current MLA or MP.", "type": "wiki-file-name" }, "incumbent_image_size": {}, "incumbent_image_alt": { "type": "string" }, "party": { "label": "Current MLA/MP's Party", "description": "Name of the political party of the MLA or MP.", "type": "string" }, "alliance": { "label": "Alliance", "description": "Name of the alliance of the party.", "type": "string" }, "preceded_by": { "label": "Preceded By", "description": "Name of the last MLA or MP, before the current one.", "type": "string" }, "reservation": { "label": "Reservation", "description": "The reservation category of the constituency. If it does not have a reservation, then enter \"None\".", "type": "string", "suggestedvalues": [ "None", "ST", "SC", "BL", "Sangha" ] }, "type": { "label": "Type", "description": "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\".", "type": "string", "suggestedvalues": [ "SLA", "LS" ], "required": true }, "union_territory": { "label": "Union Territory", "description": "Name of the union territory of the constituency.", "type": "string", "suggestedvalues": [ "Delhi", "Jammu and Kashmir", "Puducherry" ] }, "assembly_cons": { "label": "Assembly Constituencies", "description": "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.", "type": "string" }, "mp": { "label": "Current MP", "description": "Name of the current MP of the Lok Sabha constituency.", "type": "string" }, "parl_name": { "type": "string", "deprecated": true }, "map_alt": { "label": "Map Alt", "description": "An alternative text for the displayed image.", "type": "string", "aliases": [ "alt" ] }, "map_image": { "label": "Map Image", "description": "A map of the constituency area, but do not add MLA's or MP's image here.", "type": "wiki-file-name", "aliases": [ "image" ] }, "map_caption": { "label": "Map Caption", "description": "Caption for the map.", "type": "string", "aliases": [ "caption" ] }, "loksabha_cons": { "label": "Lok Sabha constituency", "description": "Name of the Lok Sabha constituency under which the constituency is located", "type": "string", "aliases": [ "constituency" ] }, "latest_election_year": { "label": "Latest election year", "description": "The year in which the MLA or MP was elected, i.e., the year of the last election.", "type": "string", "aliases": [ "year" ] } }, "paramOrder": [ "name", "type", "constituency_no", "map_image", "map_alt", "map_caption", "state", "union_territory", "division", "district", "loksabha_cons", "assembly_cons", "established", "abolished", "electors", "reservation", "incumbent_image", "incumbent_image_size", "incumbent_image_alt", "mp", "mla", "party", "alliance", "latest_election_year", "preceded_by", "parl_name" ], "format": "block", "description": "Infobox for Indian Lok Sabha or Vidhan Sabha constituencies. Visit Template:Infobox Indian constituency/doc, for usage information." } </templatedata> |