Template:Seanad member entry

From Wikipedia, the free encyclopedia

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.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
[edit] Template documentation

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

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.

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
party
  • The name of the article on the party for which the senator was elected or appointed, e.g. party = Labour Party (Ireland) or party = Fianna Fáil
    NB If the party affiliation is not known, use party = 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

{{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}}

See also