Template:USBill/doc

Description
This links to a specific bill via THOMAS.

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

Usage
Required: Optional:


 * : Congress number (93-present). (1-92 will provide the right output, but it won't be linked).
 * {| class=wikitable style="text-align:center"

! rowspan=2 | (Congress number) !! colspan=2 | Result ! Link !! Format
 * - valign=bottom
 * 93-112 (present) || Links to THOMAS bill || Formats properly
 * 1-92 || No link || Formats properly
 * }
 * 1-92 || No link || Formats properly
 * }


 * : Bill type:
 * {| class=wikitable style="text-align:center"

! (NOT case specific) (Spaces are optional, but will be dropped in piped result) (Periods are optional, but will be added in piped result) !! Bill type !! Piped result
 * - valign=bottom
 * h, h., h.r., hr || House Bill Note: H.R. is a House Bill, not a House Resolution. || H.R.
 * h.res., h.res, hres || House Resolution || H.Res.
 * h.j.res, h.jres, h.j.res, hjres., h.j.r., hjr, hj, hjres || House Joint Resolution || H.J.Res.
 * h.con.res., h.con.res, h. con. res., h. con. res, hconres., hconres, hcr, h c r, h con res || House Concurrent Resolution || H.Con.Res.
 * h.amdt., h.amdt, ha, hamdt || House Amendment || H.Amdt.
 * s., s || Senate Bill || S.
 * s.res., s.res, sr, sres || Senate Resolution || S.Res.
 * s.j., s.j, sj, sjr, sjres || Senate Joint Resolution || S.J.Res.
 * s.con.res., s.con.res, s. con. res., s. con. res, sconres., sconres, scr, s c r, s con res, scon</tt> || Senate Concurrent Resolution || S.Con.Res.
 * s.amdt., s.amdt, samt, sa, samdt</tt> || Senate Amendment || S.Amdt.
 * }
 * : Bill number (1-?)
 * : Optional field if you'd rather use piped text
 * : Optional field. If any data is here (i.e., non-blank), it adds " at THOMAS."  "Site" will not apply if there's no link, (i.e. <93).  "Site" is useful when including bills in lists, such as External links.
 * s.j., s.j, sj, sjr, sjres</tt> || Senate Joint Resolution || S.J.Res.
 * s.con.res., s.con.res, s. con. res., s. con. res, sconres., sconres, scr, s c r, s con res, scon</tt> || Senate Concurrent Resolution || S.Con.Res.
 * s.amdt., s.amdt, samt, sa, samdt</tt> || Senate Amendment || S.Amdt.
 * }
 * : Bill number (1-?)
 * : Optional field if you'd rather use piped text
 * : Optional field. If any data is here (i.e., non-blank), it adds " at THOMAS."  "Site" will not apply if there's no link, (i.e. <93).  "Site" is useful when including bills in lists, such as External links.
 * : Bill number (1-?)
 * : Optional field if you'd rather use piped text
 * : Optional field. If any data is here (i.e., non-blank), it adds " at THOMAS."  "Site" will not apply if there's no link, (i.e. <93).  "Site" is useful when including bills in lists, such as External links.

Examples
Senate Joint Resolution 52 of the 101st Congress:
 *  </tt> returns

House bill 889 of the 109th Congress:
 *  </tt> returns

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

Examples of Senate legislation from the Library of Congress:
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns

Examples of House of Representatives legislation from the Library of Congress:
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns

Example of an unlinked bill:
 * <tt> </tt> returns

External link

 * THOMAS Legislative Handles