Open main menu

Changes

m
→‎Usage: Present Congress is 115th
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

==Description==
This links to a specific bill via [https://www.congress.gov/ Congress.gov].

Bills and Resolutions from the [[6th United States Congress|6th Congress]] through the [[42nd United States Congress|42nd Congress]] are available separately through the Library of Congress.

*[https://memory.loc.gov/ammem/amlaw/lwhblink.html House bills], 6th through 42nd Congress
*[https://memory.loc.gov/ammem/amlaw/lwsblink.html Senate bills], 16th through 42nd Congress
*[https://memory.loc.gov/ammem/amlaw/lwsrlink.html 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 [[Wikipedia:External links]] for discussion of acceptable and unacceptable uses.

==Usage==

<pre>Required: {{USBill | {{{1}}} | {{{2}}} | {{{3}}} }}</pre>
<pre>Optional: {{USBill | {{{1}}} | {{{2}}} | {{{3}}} | {{{which}}} | {{{pipe}}} | {{{site}}} }}</pre>

* {{{1}}}: '''Congress number''' (93-present). (1-92 will provide the right output, but it won't be linked).
:{| class=wikitable style="text-align:center"
|- style="vertical-align:bottom;"
! rowspan=2 | {{{1}}}<br/><small>(Congress number)</small> !! colspan=2 | Result
|-
! Link !! Format
|-
| 93-115 (present) || Links to Congress.gov bill || Formats properly
|-
| 1-92 || No link || Formats properly
|}

* {{{2}}}: '''Bill type''':
:{| class=wikitable style="text-align:center"
|- style="vertical-align:bottom;"
! {{{2}}}<br/>(NOT case specific)<br/>(Spaces are optional, but will be ''dropped'' in piped result)<br/>(Periods are optional, but will be ''added'' in piped result) !! Bill type !! Piped result
|-
| <tt>h, h., h.r., hr</tt> || House Bill<small><br/><br/>''Note: H.R. is a House Bill, not a House Resolution.''</small> || H.R.
|-
| <tt>h.res., h.res, hres</tt> || House Resolution || H.Res.
|-
| <tt>h.j.res, h.jres, h.j.res, hjres., h.j.r., hjr, hj, hjres</tt> || House Joint Resolution || H.J.Res.
|-
| <tt>h.con.res., h.con.res, h. con. res., h. con. res,<br/>hconres., hconres, hcr, h c r, h con res</tt> || House Concurrent Resolution || H.Con.Res.
|-
| <tt>h.amdt., h.amdt, ha, hamdt</tt> || House Amendment || H.Amdt.
|-
| <tt>s., s</tt> || Senate Bill || S.
|-
| <tt>s.res., s.res, sr, sres</tt> || Senate Resolution || S.Res.
|-
| <tt>s.j., s.j, sj, sjr, sjres</tt> || Senate Joint Resolution || S.J.Res.
|-
| <tt>s.con.res., s.con.res, s. con. res., s. con. res,<br/>sconres., sconres, scr, s c r, s con res, scon</tt> || Senate Concurrent Resolution || S.Con.Res.
|-
| <tt>s.amdt., s.amdt, samt, sa, samdt</tt> || Senate Amendment || S.Amdt.
|}
* {{{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''':
:<tt><nowiki>{{USBill|101|SJ|52}}</nowiki></tt> returns {{USBill|101|SJ|52}}

'''House bill 889 of the 109th Congress''':
:<tt><nowiki>{{USBill|109|HR|889}}</nowiki></tt> returns {{USBill|109|HR|889}}

'''House Resolution 4954 of the 109th Congress, known as the "SAFE Port Act"''':
:<tt><nowiki>{{USBill|109|HR|4954|pipe=Text of the SAFE Port Act|site=yes}}</nowiki></tt> returns {{USBill|109|HR|4954|pipe=Text of the SAFE Port Act|site=yes}}

'''Examples of ''Senate'' legislation from the Library of Congress''':
:<tt><nowiki>{{USBill|110|S|254}}</nowiki></tt> returns {{USBill|110|S|254}}
:<tt><nowiki>{{USBill|110|SJ|10}}</nowiki></tt> returns {{USBill|110|SJ|10|}}
:<tt><nowiki>{{USBill|110|SConRes|33}}</nowiki></tt> returns {{USBill|110|SConRes|33}}
:<tt><nowiki>{{USBill|110|SRes|69}}</nowiki></tt> returns {{USBill|110|SRes|69}}
:<tt><nowiki>{{USBill|110|SA|43}}</nowiki></tt> returns {{USBill|110|SA|43}}

'''Examples of ''House of Representatives'' legislation from the Library of Congress''':
:<tt><nowiki>{{USBill|110|HR|622}}</nowiki></tt> returns {{USBill|110|HR|622}}
:<tt><nowiki>{{USBill|110|HJ|65}}</nowiki></tt> returns {{USBill|110|HJ|65}}
:<tt><nowiki>{{USBill|110|HConRes|27}}</nowiki></tt> returns {{USBill|110|HConRes|27}}
:<tt><nowiki>{{USBill|110|HRes|655|site=yes}}</nowiki></tt> returns {{USBill|110|HRes|655|site=yes}}
:<tt><nowiki>{{USBill|110|HA|234|site=yes}}</nowiki></tt> returns {{USBill|110|HA|234|site=yes}}

'''Example of an unlinked bill''':
:<tt><nowiki>{{USBill|82|HRes|5678|site=yes}}</nowiki></tt> returns {{USBill|82|HRes|5678|site=yes}}

==See also==
* {{tl|UK SI}}, an analogous template for "[[Statutory Instrument (UK)]]"
* [[s:Template:USBill]] — When changes are made, please change them at Wikisource, too.

==External link==
* [https://www.congress.gov/help/faq/linking-to-congress-gov Linking to Congress.gov]

{{United States legal citation templates}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Law citation templates|{{PAGENAME}}]]
[[Category:United States law templates|{{PAGENAME}}]]
[[Category:United States Congress external link templates|{{PAGENAME}}]]

[[ja:Template:USBill]]
</includeonly>
Anonymous user