Template:List mla
Appearance
Usage
[edit]{{list mla|qid}}
Arguments
[edit]|qid=
: If 'header', the template prints the header of the table. Otherwise, it should be QID of an item of the Assembly Constituency whose current Member of the Legislative Assembly is to be listed in the table of MLA's (generally of a given state).
Description
[edit]It uses following wikidata properties of the specified or underlying page to fill up the following columns:
- District: part of (P361).
- No.: instance of (P31)'s qualifier series ordinal (P1545).
- Constituency: Label of wikidata item of given qid or of underlying page.
- Name: successful candidate (P991) (current according to qualifiers start time (P580) and end time (P582)).
- Political party: successful candidate (P991) → member of political party (P102) (current according to qualifiers start time (P580) and end time (P582)).
- Political group: successful candidate (P991) → member of political party (P102) → part of (P361) (current according to qualifiers start time (P580) and end time (P582)).
Example
[edit]To make the table, it should be used as follows:
{| {{list mla|header}} {{list mla|Q15653667}} {{list mla|Sirsa Assembly constituency}} {{List mla|Q15659557}} |}
to produce the output as follows:
District | No | Constituency Name | Name | Political Party | Political Group | ||
---|---|---|---|---|---|---|---|
Panipat | 25 | Panipat city | |||||
Sirsa | 45 | Sirsa | Gokul Setia ![]() |
INC | I.N.D.I.A. | ||
Faridabad | 89 | Faridabad | Vipul Goel ![]() |
BJP | NDA |
See also
[edit]- {{MLA table}}