Template:Seats in Lok Sabha/doc

From WikiProjectMed
Jump to navigation Jump to search

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 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)
  1. ^ a b c d e "Members: Lok Sabha". loksabha.nic.in. Lok Sabha Secretariat. Retrieved 24 May 2019.