सामग्रीमा जानुहोस्

ढाँचा:Representative/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

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

  • The first positional parameter indicates which dataset to use for lookup.
  • The second positional parameter, usually a numeric value, indicates which district or seat.
  • format= to specify the display format (name of formatting template)
  • fmt= to specify the display format (shorthand)
  • {{Representative|nycd|1}}
displays the representative of New York's 1st congressional district in the default format:
ढाँचा:Representative/current/New York congressional
  • {{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

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
Parameter valueScopeDataset templatedefault fmt=
cacdcurrent U.S. representatives from California{{Representative/current/California congressional}}us
caadcurrent members of the California State Assembly{{Representative/current/California assembly}}linked
casdcurrent members of the California State Senate{{Representative/current/California state senate}}linked
New York
Parameter valueScopeDataset templatedefault fmt=
nycdcurrent U.S. representatives from New York{{Representative/current/New York congressional}}us
nyadcurrent members of the New York State Assembly{{Representative/current/New York assembly}}linked
nysdcurrent members of the New York State Senate{{Representative/current/New York state senate}}linked
fmt=Sample outputInformation displayedFormatting template
adistrictढाँचा:Representative/format/adistrictstate assembly district, party affiliation, and rep's name{{Representative/format/adistrict}}
blockढाँचा:Representative/format/blockcolored block, linked name, and party affiliation (single letter){{Representative/format/block}}
districtढाँचा:Representative/format/districtcongressional district, party affiliation, and rep's name{{Representative/format/district}}
linkedMike Garciarep's full name, linked{{Representative/format/linked}}
nameonlyढाँचा:Representative/format/nameonlyrep's full name without link{{Representative/format/nameonly}}
partyढाँचा:Representative/format/partyparty affiliation without link{{Representative/format/party}}
pflढाँचा:Representative/format/pflparty affiliation and rep's name{{Representative/format/pfl}}
residenceढाँचा:Representative/format/residenceplace of residence without link{{Representative/format/residence}}
sdistrictढाँचा:Representative/format/sdistrictstate senate district, party affiliation, and rep's name{{Representative/format/sdistrict}}
sleaderMike Garcia (R)rep's name and state party affiliation{{Representative/format/sleader}}
spflढाँचा:Representative/format/spflstate party affiliation and rep's name{{Representative/format/spfl}}
usढाँचा:Representative/format/usrep's name, party affiliation, and place of residence{{Representative/format/us}}
usleaderMike Garcia (R)rep's name and party affiliation (single letter){{Representative/format/usleader}}
usleader3ढाँचा:Representative/format/usleader3rep's name and party affiliation (3-letter abbreviation){{Representative/format/usleader3}}