Template:Seanad member entry/doc
From Wikipedia, the free encyclopedia
This template creates a table entry for a member of Seanad Eireann. It is for use in the articles Members of the 23rd Seanad, Members of the 22nd Seanad, Members of the 21st Seanad etc.
The tables are sortable, so the markup can get a bit complicated; this template simplifies the task.
It should be used in conjunction with {{Seanad member list start}}, which creates the list header.
Contents |
[edit] Usage
{{Seanad member list start}} {{Seanad member entry | firstname = | lastname = | postnomial = | articlename = <!-- if not firstname lastname --> | panel = | party = | filledvacancy = | notes = }}
- Do not subst the template. A warning will be displayed if template is substed.
[edit] Parameters
No linking is required (all links will be created by the template)
- firstname
- The first name of the senator, as it should be displayed.
- lastname
- The last name (aka surname) of the senator, as it should be displayed
- Postnomial
- Optional parameter for a postnomial which should not be included in the sort key, e,g. "Snr" or "Jnr". Note that the leading comma should not be supplied
- articlename
- The name of the article on the senator. In many cases this simply be "firstname lastname", in which case the articlename parameter can be left blank
- panel
- The name of the panel or constituency for which the senator was elected, or alternatively whether they were nominated by the Taoiseach, e.g. "agricultural for the Agricultural Panel, "NUI" or "National University of Ireland" for the National University of Ireland (constituency), "nominated" or "taoiseach" or "nominated by taoiseach" for senators who were nominated by the Taoiseach.
- party
- The name of the article on the party for which the senator was elected or appointed, e.g.
party = Labour Party (Ireland)
orparty = Fianna Fáil
NB If the party affiliation is not known, useparty = unknown
— do not leave this field blank or the template will generate an error
- filledvacancy
- Used only if the senator was elected to fill a vacancy, when it should be set to "yes"; otherwise omitted or left blank
- notes
- Any notes to accompany the entry
[edit] Sample usage
{{Seanad member list start}} {{Seanad member entry | firstname = Camillus | lastname = Glynn | articlename = <!-- if not firstname lastname --> | panel = Administrative | party = Fianna Fáil | filledvacancy = | notes = }} {{Seanad member entry | firstname = Shane | lastname = Ross | articlename = <!-- if not firstname lastname --> | panel = University of Dublin | party = Independent (politician) | filledvacancy = | notes = }} {{Seanad member entry | firstname = Kate | lastname = Walsh | articlename = <!-- if not firstname lastname --> | panel = Nominated by the Taoiseach | party = Progressive Democrats | filledvacancy = | notes = Died [[24 April]] [[2007]] }} {{Seanad member entry | firstname = Eoin | lastname = Ryan | postnomial = Snr | articlename = <!-- if not firstname lastname, postnomial --> | panel = Industrial and Commercial Panel | party = Fianna Fáil | filledvacancy = | notes = }} {{end}}