Template:Seanad member entry
Appearance
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template creates a table entry for a member of Seanad Éireann. 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.
Usage
[edit]{{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 subst:ed.
Parameters
[edit]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
Sample usage
[edit]{{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 = Dublin University
|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}}