Purpose
{{ Representative }} looks up information about a member of a representative body. When this information is replicated across many articles, corrections and updates become laborious. Gathering it together on a single wiki page (herein called a 'dataset') eases the maintenance burden.
Parameters
Positional parameters
The first positional parameter indicates which dataset to use for lookup.
The second positional parameter, usually a numeric value, indicates which district or seat.
Named parameters
format= to specify the display format (name of formatting template)
fmt= to specify the display format (shorthand)
Examples
{{Representative|nycd|1}}
displays the representative of New York's 1st congressional district in the default format:
Lee Zeldin (R –Shirley )
{{Representative|caad|2|format=Representative/format/nameonly}}
displays the representative of California's 2nd State Assembly district using {{ Representative/format/nameonly }} for formatting:
قالب:Representative/format/nameonly
{{Representative|cacd|3|fmt=linked}}
displays the representative of California's 3rd congressional district using {{ Representative/format/linked }} for formatting:
John Garamendi
Datasets
California
New York
Display formats
Some display formats are not supported for all datasets.
fmt=
Sample output
Information displayed
Formatting template
adistrict
the 25 Assembly District , represented by Democrat Kansen Chu
state assembly district, party affiliation, and rep's name
{{ Representative/format/adistrict }}
block
قالب:Representative/format/block
colored block, linked name, and party affiliation (single letter)
{{ Representative/format/block }}
district
California's 25 congressional district , represented by قالب:Representative/format/pfl
congressional district, party affiliation, and rep's name
{{ Representative/format/district }}
linked
Steve Knight
rep's full name, linked
{{ Representative/format/linked }}
nameonly
قالب:Representative/format/nameonly
rep's full name without link
{{ Representative/format/nameonly }}
pfl
قالب:Representative/format/pfl
party affiliation and rep's name
{{ Representative/format/pfl }}
sdistrict
the 25 Senate District , represented by Democrat Carol Liu
state senate district, party affiliation, and rep's name
{{ Representative/format/sdistrict }}
sleader
Steve Knight (ج )
rep's name and state party affiliation
{{ Representative/format/sleader }}
spfl
Republican Steve Knight
state party affiliation and rep's name
{{ Representative/format/spfl }}
us
Steve Knight (R –Palmdale )
rep's name, party affiliation, and place of residence
{{ Representative/format/us }}
usleader
Steve Knight (ج )
rep's name and party affiliation (single letter)
{{ Representative/format/usleader }}
usleader3
قالب:Representative/format/usleader3
rep's name and party affiliation (3-letter abbreviation)
{{ Representative/format/usleader3 }}
See also