Template:Seats in Lok Sabha: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary |
||
Line 1: | Line 1: | ||
{{Composition bar|{{#ifeq: {{{no_of_seats|{{{1|}}}}}}||0|{{{no_of_seats|{{{1|0}}}}}}}}|545|{{{bar-color|{{{2|grey}}}}}} }} <ref name="Lok Sabha Official Website">{{cite web|title=Members: Lok Sabha|url=http://164.100.47.194/Loksabha/Members/PartywiseList.aspx|website=loksabha.nic.in|publisher=''Lok Sabha Secretariat''|accessdate=18 July 2018|deadurl=no}}</ref>(currently ''' |
{{Composition bar|{{#ifeq: {{{no_of_seats|{{{1|}}}}}}||0|{{{no_of_seats|{{{1|0}}}}}}}}|545|{{{bar-color|{{{2|grey}}}}}} }} <ref name="Lok Sabha Official Website">{{cite web|title=Members: Lok Sabha|url=http://164.100.47.194/Loksabha/Members/PartywiseList.aspx|website=loksabha.nic.in|publisher=''Lok Sabha Secretariat''|accessdate=18 July 2018|deadurl=no}}</ref>(currently '''533''' members + '''1 [[Speaker of the Lok Sabha|Speaker]]''') |
||
<noinclude>{{Documentation}}</noinclude> |
<noinclude>{{Documentation}}</noinclude> |
Revision as of 12:48, 5 August 2018
0 / 545
[1](currently 533 members + 1 Speaker)
This template displays the numeric composition seats in Lok Sabha. It is used as part of {{Infobox Indian political party}} to show the number of seats a given political party holds in a legislature.
Usage
{{Seats in Lok Sabha|amount|bar-color}}
- no_of_seats
- The first parameter is the number of seats the party holds in Lok Sabha.
- bar-color
- (default is light grey) The second parameter is the background color of the left part of the bar - a valid web color, which can be specified by name, as a hex triplet (#rrbbgg), or rgb triplet (rgb(0–255,0–255,0–255)).
The political parties will mostly have their logo color available in #F8F9FA templates.
Examples
Code | Result |
---|---|
{{Seats in Lok Sabha|no_of_seats=50|bar-color=red}}
|
50 / 545 [1](currently 533 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|red}}
|
50 / 545 [1](currently 533 members + 1 Speaker)
|
{{Seats in Lok Sabha|200|#FF0}}
|
200 / 545 [1](currently 533 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|{{party color|Bharatiya Janata Party}}}}
|
50 / 545 [1](currently 533 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|rgb(255,255,16)}}
|
50 / 545 [1](currently 533 members + 1 Speaker)
|