Difference between revisions of "Template:Lok Sabha succession box"
imported>Walrus Ji (based on Template:Rajya Sabha succession box) |
imported>Walrus Ji (show constituency info at the end) |
||
| Line 1: | Line 1: | ||
{{#if:{{{new|}}}|{{s-new|rows={{{startrows}}}|{{{new}}}}}|{{#if:{{{before|}}}|{{s-bef|before= {{{before}}}}}|}}}} | {{#if:{{{new|}}}|{{s-new|rows={{{startrows}}}|{{{new}}}}}|{{#if:{{{before|}}}|{{s-bef|before= {{{before}}}}}|}}}} | ||
{{s-ttl | {{s-ttl | ||
| − | | title= {{#if:{{{type|}}}|{{{type}}} to|Member of Parliament | + | | title= {{#if:{{{type|}}}|{{{type}}} to|[[Member of parliament, Lok Sabha|Member of Parliament]]<br>for}} [[{{IN State Abbrev|{{{constituency}}}}} (Lok Sabha constituency)|Lok Sabha]] from [[{{IN State Abbrev|{{{constituency}}}}}]] |
| alongside={{{alongside|}}} | | alongside={{{alongside|}}} | ||
| years= {{#if:{{{start|}}}|{{{start}}}{{#ifexpr: {{Str find|{{{start}}}| }} >= 0 | – |–}}present{{#if:{{{footnote_marker|}}}|{{{footnote_marker}}} }}|{{{years}}}{{#if:{{{footnote_marker|}}}|{{{footnote_marker}}} }}}}}} | | years= {{#if:{{{start|}}}|{{{start}}}{{#ifexpr: {{Str find|{{{start}}}| }} >= 0 | – |–}}present{{#if:{{{footnote_marker|}}}|{{{footnote_marker}}} }}|{{{years}}}{{#if:{{{footnote_marker|}}}|{{{footnote_marker}}} }}}}}} | ||
Revision as of 09:00, 17 December 2020
Contents
Usage
Former Members of the Lok Sabha
Example—
Sachin Tendulkar:
{{s-start}}
{{Lok Sabha succession box
| constituency= Chandni Chowk
| before= [[Sultan Singh]]
| after= [[Suresh Kumar]]
| years= January 3, 1979 – January 3, 1999}}
{{s-end}}
becomes:
Template:S-start
Template:S-bef
Template:S-ttl
Template:S-aft
Template:S-end
With the headers
Example—
Sachin Tendulkar:
{{s-start}}
{{S-par|in-ls}}
{{Lok Sabha succession box
| constituency = Chandni Chowk
| before= [[Sultan Singh]]
| after= [[Suresh Kumar]]
| years= January 3, 1979 – January 3, 1999}}
{{s-end}}
becomes:
Template:S-start
Template:S-par
Template:S-bef
Template:S-ttl
Template:S-aft
Template:S-end
Incumbents
First Example—
Sachin Tendulkar:
{{s-start}}
{{Lok Sabha succession box
| constituency = Chandni Chowk
| before= [[Michael N. Castle]]
| start= January 3, 2011}}
{{s-end}}
becomes: Template:S-start Template:S-bef Template:S-ttl Template:S-inc Template:S-end
If there is only one seat for the entire state, then use "AP," the at-large seat.
Second Example—
Eleanor Holmes Norton:
{{s-start}}
{{Lok Sabha succession box
| type= Delegate
| constituency = Chandni Chowk
| before=[[Walter Fauntroy]]
| start= January 3, 1991}}
{{s-end}}
becomes: Template:S-start Template:S-bef Template:S-ttl Template:S-inc Template:S-end
First Representative from a new seat
Example—
Bill Richardson:
{{s-start}}
{{Lok Sabha succession box
| constituency = Chandni Chowk
| new=seat
| after= [[William T. Redmond]]
| years= January 3, 1983 – February 13, 1997}}
{{s-end}}
becomes: Template:S-start Template:S-new Template:S-ttl Template:S-aft Template:S-end
Last Representative from an obsolete district
Example—
Sultan Singh:
{{s-start}}
{{S-par|in-ls}}
{{Lok Sabha succession box
| constituency = Chandni Chowk
| before=[[Ram Prakash]]
| years= October 17, 1989 – January 3, 2003
| reason=Seat abolished
}}
{{s-end}}
becomes: Template:S-start Template:S-par Template:S-bef Template:S-ttl Template:S-non Template:S-end
See also
- {{Rajya Sabha succession box}}
- {{IN Assembly succession box}}
- {{INAssemblySuccessionBoxNeeded}}
- {{USRepSuccessionBoxNeeded}}
- {{US House succession box}}
| The above documentation is transcluded from Template:Lok Sabha succession box/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |