Difference between revisions of "Template:INAssemblySuccessionBoxNeeded/doc"
Jump to navigation
Jump to search
imported>Walrus Ji (Update details) |
imported>Walrus Ji (Add shortcut) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | Helper template for | + | Helper template for creating the succession box. The template will Display an empty version of the box with default (usually empty) parameters, until an editor can complete the desired parameters in the succession box. |
{{INAssemblySuccessionBoxNeeded}} | {{INAssemblySuccessionBoxNeeded}} | ||
| + | |||
| + | The template has a shortcut {{tlxs|INMLA}} | ||
=== Usage === | === Usage === | ||
| + | {{tlxs|INAssemblySuccessionBoxNeeded|''state''|''constituency''|''starting''|''finished''|''predecessor''|''successor''}} | ||
| − | + | or using the shortcut | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{tlxs| | + | {{tlxs|INMLA|''state''|''constituency''|''starting''|''finished''|''predecessor''|''successor''}} |
*''starting'' year or Date for unusual circumstances | *''starting'' year or Date for unusual circumstances | ||
| Line 25: | Line 22: | ||
The first and last constituency 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. | ||
| + | |||
| + | |||
| + | {{tlxs|INAssemblySuccessionBoxNeeded|''state''}} | ||
| + | |||
| + | {{tlxs|INAssemblySuccessionBoxNeeded|''state''|''constituency''}} | ||
| + | |||
| + | *''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. | ||
| + | *''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. | ||
===Example usage=== | ===Example usage=== | ||
Revision as of 11:54, 21 January 2021
| This is a documentation subpage for Template:INAssemblySuccessionBoxNeeded. It contains usage information, categories and other content that is not part of the original template page. |
Helper template for creating the succession box. The template will Display an empty version of the box with default (usually empty) parameters, until an editor can complete the desired parameters in the succession box.
Template:S-start
Template:S-par
Template:S-bef
Template:S-ttl
Template:S-aft
Template:S-end
The template has a shortcut {{subst:INMLA}}
Usage
{{subst:INAssemblySuccessionBoxNeeded|state|constituency|starting|finished|predecessor|successor}}
or using the shortcut
{{subst:INMLA|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.
{{subst:INAssemblySuccessionBoxNeeded|state}}
{{subst: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.
Example usage
{{subst:INAssemblySuccessionBoxNeeded|West Bengal|Rampurhat|2000|2006|predecessor|successor}}
{{subst:INAssemblySuccessionBoxNeeded|HR|Rampurhat|2000|2006|predecessor|successor}}
List of headers
See also