Template:Seats in Lok Sabha/doc
Appearance
This is a documentation subpage for Template:Seats in Lok Sabha. It may contain usage information, categories and other content that is not part of the original template page. |
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
[edit]{{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
[edit]Code | Result |
---|---|
{{Seats in Lok Sabha|no_of_seats=50|bar-color=red}}
|
50 / 545 [1](currently 541 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|red}}
|
50 / 545 [1](currently 541 members + 1 Speaker)
|
{{Seats in Lok Sabha|200|#FF0}}
|
200 / 545 [1](currently 541 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|{{party color|Bharatiya Janata Party}}}}
|
50 / 545 [1](currently 541 members + 1 Speaker)
|
{{Seats in Lok Sabha|50|rgb(255,255,16)}}
|
50 / 545 [1](currently 541 members + 1 Speaker)
|