Template:USBill/doc

Description
This links to a specific bill via Congress.gov.

Bills and Resolutions from the 6th Congress through the 42nd Congress are available separately through the Library of Congress.


 * House bills, 6th through 42nd Congress
 * Senate bills, 16th through 42nd Congress
 * Senate Joint Resolutions, 18th through 42nd Congress

This template links to external sites. External links should not normally be used in the body of an article; see External links for discussion of acceptable and unacceptable uses.

Parameters

 * 1: Congress (93-present). (1-92 will provide the right output, but it won't be linked).


 * bill type
 * 3: Bill number (1-?)
 * which: Optional field. If any data is here (i.e., non-blank), then adds "(Cong.)" to differentiate to the reader the Congress in which the bill was considered.
 * pipe: Optional field if you'd rather use piped text
 * site: Optional field. If any data is here (i.e., non-blank), it adds " at Congress.gov."  "Site" will not apply if there's no link, (i.e. 1<93).  "Site" is useful when including bills in lists, such as External links.

Examples
Senate Joint Resolution 52 of the 101st Congress:
 * returns

House bill 889 of the 109th Congress:
 * returns
 * returns

House Resolution 4954 of the 109th Congress, known as the "SAFE Port Act":
 * returns

Examples of Senate legislation from the Library of Congress:
 * returns
 * returns
 * returns
 * returns
 * returns

Examples of House of Representatives legislation from the Library of Congress:
 * returns
 * returns
 * returns
 * returns
 * returns

Example of an unlinked bill:
 * returns

External link

 * Linking to Congress.gov

{	"params": { "1": {			"label": "Congress number", "description": "93–present", "example": "111", "type": "number", "required": true },		"2": {			"label": "Type", "description": "hr for House bill, hres for House Resolution, hjres for House Joint Resolution, hconres for House Concurrent Resolution, ha for House Amendment, s for Senate Bill, sres, sjres, sconres, sa", "example": "hr", "type": "string", "required": true },		"3": {			"label": "Bill number", "example": "383", "type": "number", "required": true },		"which": { "description": "If any data is here (i.e., non-blank), then adds \"(Cong.)\" to differentiate to the reader the Congress in which the bill was considered", "example": "yes" },		"pipe": { "description": "If any data is here (i.e., non-blank), then overwrites generated text and adds piped text to link", "example": "HR383", "type": "string" },		"site": { "description": "If any data is here (i.e., non-blank), it adds \" at Congress.gov.\" \"Site\" will not apply if there's no link, (i.e. <93). \"Site\" is useful when including bills in lists, such as External links" }	},	"description": "Links to a specific bill via Congress.gov", "format": "inline" }