Difference between revisions of "Template:USBill/sandbox"

From Nordic Larp Wiki
Jump to navigation Jump to search
en>Ahecht
(Fix template, remove debug statements)
(No difference)

Revision as of 04:10, 23 April 2017

{{{2}}} {{{3}}}

Template documentation[view] [edit] [history] [purge]

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.

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

Required: {{USBill | {{{1}}} | {{{2}}} | {{{3}}} }}
Optional: {{USBill | {{{1}}} | {{{2}}} | {{{3}}} | {{{which}}} | {{{pipe}}} | {{{site}}} }}
  • {{{1}}}: Congress number (93-present). (1-92 will provide the right output, but it won't be linked).
{{{1}}}
(Congress number)
Result
Link Format
93-115 (present) Links to Congress.gov bill Formats properly
1-92 No link Formats properly
  • {{{2}}}: Bill type:
{{{2}}}
(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
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
Senate Concurrent Resolution S.Con.Res.
s.amdt., s.amdt, samt, sa, samdt 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:

{{USBill|101|SJ|52}} returns S.J.Res. 52

House bill 889 of the 109th Congress:

{{USBill|109|HR|889}} returns H.R. 889

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

{{USBill|109|HR|4954|pipe=Text of the SAFE Port Act|site=yes}} returns Text of the SAFE Port Act at Congress.gov

Examples of Senate legislation from the Library of Congress:

{{USBill|110|S|254}} returns S. 254
{{USBill|110|SJ|10}} returns S.J.Res. 10
{{USBill|110|SConRes|33}} returns S.Con.Res. 33
{{USBill|110|SRes|69}} returns S.Res. 69
{{USBill|110|SA|43}} returns S.Amdt. 43

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

{{USBill|110|HR|622}} returns H.R. 622
{{USBill|110|HJ|65}} returns H.J.Res. 65
{{USBill|110|HConRes|27}} returns H.Con.Res. 27
{{USBill|110|HRes|655|site=yes}} returns H.Res. 655 at Congress.gov
{{USBill|110|HA|234|site=yes}} returns H.Amdt. 234 at Congress.gov

Example of an unlinked bill:

{{USBill|82|HRes|5678|site=yes}} returns H.Res. 5678

See also

External link

List of all United States legal citation templates

These templates are for citing U.S. codes and laws. To cite court cases, use {{Cite court}}, or for the U.S. Supreme Court, use {{Scite}} or {{Ussc}}.


Parameters in (parentheses) are optional.

Template(s) Parameter(s) Description
1 2 3 4 pipe
{{UnitedStatesCode}}, {{USC}} Title Section (end of section range)   (pipe) United States Code (USC) via Cornell University's Legal Information Institute
{{UnitedStatesCode2}}, {{USC2}} Title Section Description   USC via Cornell: description of the section
{{UnitedStatesCodeSec}}, {{USCSec}} Title Section   (pipe) USC via Cornell: when citing one of a series of USC sections, where it would be redundant to display the full citation for each section, this template can be used to display only the section number.
{{UnitedStatesCodeSub}}, {{USCSub}} Title Section Up to 6 levels of "sub" Access to subsection/paragraph/subparagraph/clause/... to allow correct hyperlinking to the anchors embedded in the Cornell pages.
{{USCSub2}} Title Section Up to 6 levels of "sub" Combines {{USCSec}} and {{USCSub}}, eliminating redundancy when citing subsections / subparagraphs / &c.
{{UnitedStatesCodeClause}}, {{USCClause}} Title Section Clause   USC via Cornell: allows clauses
{{Usc-title-chap}}, {{usctc}} Title Chapter (Subchapter)   (pipe) USC via Cornell: title/chapter links.
{{USIRC}} Section     Internal Revenue Code {{UnitedStatesCode}}
{{USStat}} Volume Page     Statutes at Large via the Library of Congress, the Government Publishing Office, or Google Books
{{USPL}} Congress Ordinal law   Public Law via GPO FDsys
{{USStatute}} Congress Ordinal law (Volume) (Page)   Combines {{USPL}} and {{USStat}},
optional Year ({{{5}}}), Month ({{{6}}}), Day ({{{7}}}),
optional {{USBill}}: (Bill type ({{{8}}}) and number ({{{9}}}))
{{USBill}} Congress Bill type (S, SJ, HR, HJ) Bill number (1-?)   (pipe) Congressional bills via THOMAS
{{US House Vote}}, {{USHVote}} Year Vote House roll-call vote via Clerk.House.gov
{{US Senate Vote}}, {{USSVote}} Congress Session Vote Senate roll-call vote via Senate.gov
{{USCongRec}} Year Page (date)   Congressional Record via GPO FDsys
{{Federal Register}}, {{USFR}} Volume Page   Federal Register via GPO FDsys
{{CodeFedReg}}, {{USCFR}} Volume Part Section (Clause)   Code of Federal Regulations via GPO FDsys
{{Executive Order}} Number   Executive orders via Wikisource
{{USTreaty}} Congress Treaty number Treaties
{{UnitedStatesSentencingGuidelines}}, {{USSG}} ChapterSection Up to 7 levels of "sub" (year)   Latest U.S. Federal Sentencing Guidelines (effective Nov. 1, 2012) via the U.S. Sentencing Commission website. Optional |year= references specific Guidelines applicable to a sentence imposed on or after Nov. 1st of that given year.
{{frcrp}} Chapter Federal Rules of Criminal Procedure (current) via Cornell University's Legal Information Institute
{{frcp}} Rule Federal Rules of Civil Procedure (current) via federalrulesofcivilprocedure.org
{{frbp}} Rule Federal Rules of Bankruptcy Procedure (current) via federalrulesofbankruptcyprocedure.org
{{frap}} Chapter Federal Rules of Appellate Procedure (current) via Cornell University's Legal Information Institute
{{fre}} Rule Federal Rules of Evidence (current) via rulesofevidence.org
Template(s) 1 2 3 4 pipe Description
Parameter(s)

ja:Template:USBill