Difference between revisions of "Template:Infobox state assembly constituency"

From blackwiki
Jump to navigation Jump to search
imported>Lesenwriter
imported>BrownHairedGirl
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:state_assembly_constituency|box|year=2016|Elected_Year=[[2016 Tamil Nadu Legislative Assembly election|2016 Election]]}}</includeonly><noinclude>
+
{{Infobox settlement
{{documentation}}
+
| name                  = {{{name|{{PAGENAMEBASE}}}}}
<!---Please add metadata to the  section
+
| type                  = state assembly constituency
    at the bottom of the /doc subpage, not here - thanks!--->
+
| image_skyline          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
</noinclude>
+
| image_caption          = {{{caption<includeonly>|</includeonly>}}}
 +
| subdivision_type      = Country
 +
| subdivision_name      = [[India]]
 +
| subdivision_type1      = [[States and union territories of India|State]]
 +
| subdivision_name1      = {{{State<includeonly>|</includeonly>}}}
 +
<!-- blank fields (section 1) -->
 +
| blank_name_sec1        = Existence
 +
| blank_info_sec1        = {{{Existence<includeonly>|</includeonly>}}}
 +
| blank1_name_sec1      = Reservation
 +
| blank1_info_sec1      = {{{Reservation<includeonly>|</includeonly>}}}
 +
| blank2_name_sec1      = Current MLA
 +
| blank2_info_sec1      = {{{CurrentMLA<includeonly>|</includeonly>}}}
 +
| blank3_name_sec1      = Party
 +
| blank3_info_sec1      = {{{CurrentMLAParty<includeonly>|</includeonly>}}}
 +
| blank4_name_sec1      = Elected Year
 +
| blank4_info_sec1      = {{{ElectedByYear}}}
 +
| blank5_name_sec1      = Total Electors
 +
| blank5_info_sec1      = {{{Electorate<includeonly>|</includeonly>}}}
 +
| blank6_name_sec1      = Most Successful Party
 +
| blank6_info_sec1      = {{{Successful Party<includeonly>|</includeonly>}}}
 +
| blank7_name_sec1      = Category
 +
| blank7_info_sec1      = {{{Category<includeonly>|</includeonly>}}}
 +
}}<noinclude>
  
<templatedata>
+
{{documentation|content=
{
+
== Usage ==
"params": {
+
 
"image": {
+
Use one of the following in your articles. when not sure, look at the Fields section below.
"description": "Image"
+
 
},
+
<pre>
"caption": {
+
{{Infobox state assembly constituency
"description": "Assembly details",
+
| name              =
"type": "string"
+
| map                =
},
+
| state              =
"Existence": {
+
| electorate        =
"description": "Since when the assembly constituency exists",
+
| year              =
"type": "string"
+
| reserved          =
},
+
| mla                =
"CurrentMLAParty": {
+
| party             = 
"description": "Party of the sitting MLA",
+
}}
"type": "string"
+
</pre>
},
+
 
"CurrentMLA": {
+
[[Category:Constituency infobox templates||state assembly Contituency]]
"description": "Elected MLA Name",
+
[[Category:India subdivision infobox templates|Lok Sabha Contituency]]
"type": "string"
+
}}</noinclude>
},
 
"ElectedByYear": {
 
"description": "Elected date",
 
"example": "23 May 2019",
 
"type": "date"
 
},
 
"State": {
 
"type": "string",
 
"description": "State of the assembly "
 
},
 
"Successful Party": {
 
"description": "Most winning party in the assembly constituency",
 
"type": "string"
 
},
 
"Electorate": {
 
"type": "number",
 
"description": "Total number of registered voters"
 
},
 
"Reservation": {
 
"description": "Whether reserved for SC, ST or General",
 
"example": "SC, ST, General",
 
"type": "string"
 
}
 
}
 
}
 
</templatedata>
 

Latest revision as of 13:10, 29 August 2020

Template:Tfm/dated

[[Category:Template:Pagetype with short description]]

Script error: No such module "If empty".
state assembly constituency
[[File:{{{image}}}|frameless]]
{{{caption}}}
CountryIndia
State{{{State}}}
Script error: No such module "If empty".
Script error: No such module "If empty".
Existence{{{Existence}}}
Reservation{{{Reservation}}}
Current MLA{{{CurrentMLA}}}
Party{{{CurrentMLAParty}}}
Elected Year{{{ElectedByYear}}}
Total Electors{{{Electorate}}}
Most Successful Party{{{Successful Party}}}
Category{{{Category}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation

Usage

Use one of the following in your articles. when not sure, look at the Fields section below.

{{Infobox state assembly constituency
| name               = 
| map                =
| state              =
| electorate         =
| year               =
| reserved           =
| mla                = 
| party              =  
}}