ഫലകം:Representative
[തിരുത്തുക] [ ] ഫലകത്തിന്റെ വിവരണം
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:
- {{Representative|caad|2|format=Representative/format/nameonly}}
- displays the representative of California's 2nd State Assembly district using {{Representative/format/nameonly}} for formatting:
- Jim Wood
- {{Representative|cacd|3|fmt=linked}}
- 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
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 |
- New York
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 |
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 | Kansen Chu (D) | colored block, linked name, and party affiliation (single letter) | {{Representative/format/block}} |
district | California's 25-ആം congressional district, represented by Republican Steve Knight | congressional district, party affiliation, and rep's name | {{Representative/format/district}} |
linked | Steve Knight | rep's full name, linked | {{Representative/format/linked}} |
nameonly | Steve Knight | rep's full name without link | {{Representative/format/nameonly}} |
party | Republican | party affiliation without link | {{Representative/format/party}} |
pfl | Republican Steve Knight | party affiliation and rep's name | {{Representative/format/pfl}} |
residence | Palmdale | place of residence without link | {{Representative/format/residence}} |
sdistrict | the 25-ആം Senate District, represented by Democrat Anthony Portantino | state senate district, party affiliation, and rep's name | {{Representative/format/sdistrict}} |
sleader | Steve Knight (R) | 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 (R) | rep's name and party affiliation (single letter) | {{Representative/format/usleader}} |
usleader3 | Steve Knight (Rep) | rep's name and party affiliation (3-letter abbreviation) | {{Representative/format/usleader3}} |
See also
തിരുത്തുക- {{Ushr}}
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Representative/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |