Template:Biographical Directory of Congress

From Wikipedia, the free encyclopedia
  (Redirected from Template:CongBio)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

{{Biographical Directory of Congress}} (and its shorter redirect {{CongBio}}) displays an external link to a specified article at the Biographical Directory of the United States Congress website (bioguide.congress.gov).

Usage

In the following, {{Biographical Directory of Congress can be used instead of {{CongBio.

Unnamed parameters

  • {{CongBio|ID}}
  • {{CongBio|ID|NAME}}

Named parameters

  • {{CongBio|id=ID}}
  • {{CongBio|id=ID|name=NAME}}
  • {{CongBio|id=ID|name=NAME|date=DATE}}
  • {{CongBio|id=ID|name=NAME|date=DATE|inline=YES}}
  • {{CongBio|id=ID|name=NAME|date=DATE|findagrave=GRID}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Biographical Directory of Congress

This template displays an external link to a specified article at the Biographical Directory of the United States Congress website (bioguide.congress.gov).

Template parameters
Parameter Description Type Default Auto value Status
ID 1id ID portion of the URL. Example: C000482 is the ID portion of http://bioguide.congress.gov/scripts/biodisplay.pl?index=C000482 string empty empty required
Name 2name Name of subject. If not given it defaults to the Wikipedia article name, without any disambiguation such as (politician). string {{PAGENAME}} empty optional
Date date Date the web page was accessed/retrieved. string empty empty optional
Inline inline If this parameter is assigned a value (yes, 1, or anything) then the leading asterisk/bullet is not displayed. string empty empty optional
Findagrave findagrave If this parameter is assigned a value, then the template will display an external link to the associated page at the Find a Grave website. string empty empty optional

Examples

In the following, {{Biographical Directory of Congress can be used instead of {{CongBio.

These examples all link to Henry Clay's biography, which is located at:

Unnamed parameters

Usage: {{CongBio | C000482 | Henry Clay }}

Output:

Named parameters

Usage: {{CongBio |id= C000482 |name= Henry Clay }}

Output:

Date

Usage: {{CongBio |id= C000482 |name= Henry Clay |date= January 26, 2010 }}

Output:

Inline

Usage: {{CongBio |id= C000482 |name= Henry Clay |inline= yes }}

Output: Henry Clay at the Biographical Directory of the United States Congress

Findagrave

Usage: {{CongBio |id= C000482 |name= Henry Clay |findagrave= 203 }}

Output:

Findagrave and Date

Usage: {{CongBio |id= C000482 |name= Henry Clay |findagrave= 203 |date= January 26, 2010 }}

Output:

See also