![]() | This is a documentation subpage for Template:Minnesota legislator ID. It may contain usage information, categories and other content that is not part of the original template page. |
This template creates a formatted link from a number that represents a particular Minnesota legislator in the Legislators Past & Present tool.
Usage
edit{{MN-legdb|number|name)}}
Parameters:
- number: number located at the end of the url
- name: optional, default is the title of the article
Notes:
- This template requires only one argument: a number, which can be found in the URL of the legislator information page.
- This also returns the bullet (*), so adding this template next to a bullet will indent it further.
Examples
edit{{MN-legdb|10445}} (the entry for Sen. Steve Murphy) will create the following information:
The name is generated from the name of the page that is calling it (if you use the same template on the article for Rep. Marty Seifert, the name displayed will be "Marty Seifert"). You can optionally pass a second parameter if you want the name displayed to be different than the page title (such as when using it on Keith Ellison (politician)).
Regardless of the title of the page, {{MN-legdb|10763|Keith Ellison}} will expand to: