Template:Biographical Directory of Congress/doc

  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,  can be used instead of.

Named parameters


There are some other additional parameters that carry default values: author=author — defaults to United States Congress, but it can be overwritten mode =mode   — defaults to cs1 but can be set to cs2 (see WP:CS1) ref  =ref    — for use with the  templates for inline citations defaults to: If the author is set to something other than United States Congress then it is also changed here. The ref parameter can be assigned another value including none to unset the parameter. accessdate=date — the usual name for the "Retrieved" parameter

TemplateData
{	"description": "This template displays an external link to a specified article at the Biographical Directory of the United States Congress website (bioguide.congress.gov).", "params": { "1": {			"label": "ID", "aliases": [ "id" ],			"description": "ID portion of the URL. Example: C000482 is the ID portion of http://bioguide.congress.gov/scripts/biodisplay.pl?index=C000482", "type": "string", "required": true },		"2": {			"label": "Name", "aliases": [ "name" ],			"description": "Name of subject. If not given it defaults to the Wikipedia article name, without any disambiguation such as (politician).", "type": "string", "default": "", "required": false },		"author": { "label": "Author", "description": "Value assigned to the \"author\" parameter of the template.", "type": "string", "default": "United States Congress", "required": false },		"ref": { "label": "Ref", "description": "Value assigned to the \"ref\" parameter of the template.", "type": "string", "required": false },		"mode": { "label": "Mode", "description": "Value assigned to the \"mode\" parameter of the template.", "type": "string", "required": false },		"noid": { "label": "No ID", "description": "If this parameter is assigned a value (yes, 1, or anything) then the \"id\" parameter will not be displayed in parentheses after the \"name\" parameter.", "type": "string", "required": false },		"inline": { "label": "Inline", "description": "If this parameter is assigned a value (yes, 1, or anything) then the leading asterisk/bullet is not displayed.", "type": "string", "required": false },		"findagrave": { "label": "Findagrave", "description": "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.", "type": "string", "required": false },		"access-date": { "aliases": [ "accessdate", "date" ],			"label": "Access date", "description": "Date the web page was accessed/retrieved.", "type": "date" }	},	"paramOrder": [ "1",		"2",		"access-date", "author", "ref", "mode", "noid", "inline", "findagrave" ] }

Examples
In the following,  can be used instead of.

These examples all link to Henry Clay's biography, which is located at:
 * http://bioguide.congress.gov/scripts/biodisplay.pl?index=C000482

Unnamed parameters
Usage:

Output:

Named parameters
Usage:

Output:

Access date
Usage:

Output:

Usage:

Output:

Author
Usage:

Output:

No ID
Usage:

Output:

Inline
Usage:

Output:

Findagrave
Usage:

Output:

Findagrave and access date
Usage:

Output:

Usage:

Output: