Template:Biographical Directory of Congress/doc

&#x3c;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&#x3e; &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e; (and its shorter redirect &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;) 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, &#x3c;code&#x3e;&#x3c;nowiki&#x3e;{{&#x3c;/nowiki&#x3e;Biographical Directory of Congress&#x3c;/code&#x3e; can be used instead of &#x3c;code&#x3e;&#x3c;nowiki&#x3e;{{&#x3c;/nowiki&#x3e;CongBio&#x3c;/code&#x3e;.

Unnamed parameters

 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;

Named parameters

 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;

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:&#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e; 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
&#x3c;templatedata&#x3e;{ "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" ] }&#x3c;/templatedata&#x3e;

Examples
In the following, &#x3c;code&#x3e;&#x3c;nowiki&#x3e;{{&#x3c;/nowiki&#x3e;Biographical Directory of Congress&#x3c;/code&#x3e; can be used instead of &#x3c;code&#x3e;&#x3c;nowiki&#x3e;{{&#x3c;/nowiki&#x3e;CongBio&#x3c;/code&#x3e;.

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:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Named parameters
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Access date
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Author
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

No ID
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Inline
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Findagrave
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Findagrave and access date
Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output:

Usage:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

Output: