Template:Representative/doc

Purpose
Representative looks up information about an incumbent 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.

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

 * displays the representative of New York's 1st congressional district in the default format:
 * displays the representative of New York's 1st congressional district in the default format:


 * displays the representative of California's 2nd State Assembly district using Representative/format/nameonly for formatting:
 * displays the representative of California's 2nd State Assembly district using Representative/format/nameonly for formatting:


 * displays the representative of California's 3rd congressional district using Representative/format/linked for formatting:
 * displays the representative of California's 3rd congressional district using Representative/format/linked for formatting:

Datasets
Updates and corrections to data (such as the representative's name or political affiliation) should be made to the "dataset template". There are six dataset templates:


 * California


 * Massachusetts


 * New York (state)


 * San Francisco