Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Purpose  





2 Parameters  



2.1  Positional parameters  





2.2  Named parameters  







3 Examples  





4 Datasets  





5 Display formats  





6 See also  














Template:Representative






تۆرکجه
فارسی
Bahasa Indonesia



Scots
Simple English
کوردی
اردو
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 



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

Parameters

Positional parameters

Named parameters

Examples

displays the representative of New York's 1st congressional district in the default format:
Nick LaLota (R)
displays the representative of California's 2nd State Assembly district using {{Representative/format/nameonly}} for formatting:
Jim Wood
displays the representative of California's 3rd congressional district using {{Representative/format/linked}} for formatting:
Kevin Kiley

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
Parameter value Scope Dataset template default fmt=
cacd current U.S. representatives from California {{Representative/current/California congressional}} us
caad current members of the California State Assembly {{Representative/current/California assembly}} linked
casd current members of the California State Senate {{Representative/current/California state senate}} linked
Massachusetts
Parameter value Scope Dataset template default fmt=
macd current U.S. representatives from Massachusetts {{Representative/current/Massachusetts congressional}} us
maad current members of the Massachusetts House of Representatives {{Representative/current/Massachusetts assembly}} linked
macd current members of the Massachusetts State Senate {{Representative/current/Massachusetts state senate}} linked
New York (state)
Parameter value Scope Dataset template default fmt=
nycd current U.S. representatives from New York {{Representative/current/New York congressional}} us
nyad current members of the New York State Assembly {{Representative/current/New York assembly}} linked
nysd current members of the New York State Senate {{Representative/current/New York state senate}} linked
San Francisco
Parameter value Scope Dataset template default fmt=
sfbos Current members of the San Francisco Board of Supervisors {{Representative/current/San Francisco Board of Supervisors}} linked

Display formats

fmt= Sample output Information displayed Formatting template
adistrict the 25th Assembly District, represented by Democrat Ash Kalra state assembly district, party affiliation, and rep's name {{Representative/format/adistrict}}
block Ash Kalra (D) colored block, linked name, and party affiliation (single letter) {{Representative/format/block}}
district California's 25th congressional district, represented by Democrat Raul Ruiz congressional district, party affiliation, and rep's name {{Representative/format/district}}
linked Raul Ruiz rep's full name, linked {{Representative/format/linked}}
nameonly Raul Ruiz rep's full name without link {{Representative/format/nameonly}}
party Democratic party affiliation without link {{Representative/format/party}}
pfl Democrat Raul Ruiz party affiliation and rep's name {{Representative/format/pfl}}
residence Indio place of residence without link {{Representative/format/residence}}
sdistrict the 25th Senate District, represented by Democrat Anthony Portantino state senate district, party affiliation, and rep's name {{Representative/format/sdistrict}}
sleader Raul Ruiz (D) rep's name and state party affiliation {{Representative/format/sleader}}
spfl Democrat Raul Ruiz state party affiliation and rep's name {{Representative/format/spfl}}
us Raul Ruiz (DIndio) rep's name, party affiliation, and place of residence {{Representative/format/us}}
usleader Raul Ruiz (D) rep's name and party affiliation (single letter) {{Representative/format/usleader}}
usleader3 Raul Ruiz (Dem) rep's name and party affiliation (3-letter abbreviation) {{Representative/format/usleader3}}

See also




Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Representative&oldid=1161986570"

Hidden categories: 
Wikipedia semi-protected templates
Uncategorized pages
All uncategorized pages
 



This page was last edited on 26 June 2023, at 08:35 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki