Difference between revisions of "Template:INAssemblySuccessionBoxNeeded/doc"

From blackwiki
Jump to navigation Jump to search
imported>Walrus Ji
imported>Walrus Ji
(Update details)
Line 8: Line 8:
 
=== Usage ===
 
=== Usage ===
  
Parameters are positional to assist easy copy and paste from a congressional district list.
 
  
 
  {{tlx|INAssemblySuccessionBoxNeeded|''state''}}
 
  {{tlx|INAssemblySuccessionBoxNeeded|''state''}}
Line 14: Line 13:
  
 
*''state'' should be specified, but currently defaults to "West Bengal". [[List of Regional Transport Office districts in India|RTO Codes]] like "WB" for "West Bengal" are allowed. Preview will link to the Assembly list, where other parameters may be found.
 
*''state'' should be specified, but currently defaults to "West Bengal". [[List of Regional Transport Office districts in India|RTO Codes]] like "WB" for "West Bengal" are allowed. Preview will link to the Assembly list, where other parameters may be found.
*''district'' defaults to at-large. When the correct district is known, preview will link to the district list, where other parameters may be found more easily and succinctly.
+
*''constituency'' defaults to at-large. When the correct constituency is known, preview will link to the constituency list, where other parameters may be found more easily and succinctly.
  
 
When all (or most) of the parameters are known, this template should be subst'd to provide a handy default layout of the succession box template.
 
When all (or most) of the parameters are known, this template should be subst'd to provide a handy default layout of the succession box template.
Line 20: Line 19:
 
  {{tlxs|INAssemblySuccessionBoxNeeded|''state''|''constituency''|''starting''|''finished''|''predecessor''|''successor''}}
 
  {{tlxs|INAssemblySuccessionBoxNeeded|''state''|''constituency''|''starting''|''finished''|''predecessor''|''successor''}}
  
*''starting'' year (or yyyy-mm-dd) for unusual circumstances
+
*''starting'' year or Date for unusual circumstances
*''finished'' year (or yyyy-mm-dd) for unusual circumstances
+
*''finished'' year or Date for unusual circumstances
 
*''predecessor'' article title
 
*''predecessor'' article title
 
*''successor'' article title
 
*''successor'' article title
  
The first and last district entry (and any current incumbent) have different succession box parameters, and will need additional edits after subst'ing.
+
The first and last constituency entry (and any current incumbent) have different succession box parameters, and will need additional edits after subst'ing.
  
 
===Example usage===
 
===Example usage===

Revision as of 18:03, 17 December 2020

Helper template for temporary succession box placement. Displays an empty version of the box with default (usually empty) parameters, until an editor can complete the desired succession box.


Template:S-start Template:S-par Template:S-bef Template:S-ttl Template:S-aft Template:S-end


Usage

{{INAssemblySuccessionBoxNeeded|state}}
{{INAssemblySuccessionBoxNeeded|state|constituency}}
  • state should be specified, but currently defaults to "West Bengal". RTO Codes like "WB" for "West Bengal" are allowed. Preview will link to the Assembly list, where other parameters may be found.
  • constituency defaults to at-large. When the correct constituency is known, preview will link to the constituency list, where other parameters may be found more easily and succinctly.

When all (or most) of the parameters are known, this template should be subst'd to provide a handy default layout of the succession box template.

{{subst:INAssemblySuccessionBoxNeeded|state|constituency|starting|finished|predecessor|successor}}
  • starting year or Date for unusual circumstances
  • finished year or Date for unusual circumstances
  • predecessor article title
  • successor article title

The first and last constituency entry (and any current incumbent) have different succession box parameters, and will need additional edits after subst'ing.

Example usage

{{subst:INAssemblySuccessionBoxNeeded|West Bengal|Rampurhat|2000|2006|predecessor|successor}}
{{subst:INAssemblySuccessionBoxNeeded|HR|Rampurhat|2000|2006|predecessor|successor}}

List of headers

See also