Template:USBill

From Wikipedia, the free encyclopedia

Expression error: Unrecognised punctuation character "{"

Contents

[edit] Description

This links to a specific bill via THOMAS.

[edit] Usage

Use: {{USBill|{{{1}}}|{{{2}}}|{{{3}}}}}

  • {{{1}}}: Congress number (93-109). (0-92 are not available)
  • {{{2}}}: Bill type (S, SJ, HR, HJ):
    • HR: House Resolution
    • HJ: House Joint Resolution
    • S: Senate Resolution
    • SJ: Senate Joint Resolution
  • {{{3}}}: Bill number (1-?)

[edit] Examples

The 52nd Senate Joint Resolution of the 93rd Congress:

{{USBill|93|SJ|52}} returns [http://thomas.loc.gov/cgi-bin/bdquery/z?d093:SJ00052:

The 889th House Resolution of the 109th Congress:

{{USBill|109|HR|889}} returns [http://thomas.loc.gov/cgi-bin/bdquery/z?d109:HR00889:

[edit] Notes / Bugs

[edit] Periods

We have not yet figured out how to handle periods. For example, you have to use "SJ" instead of "S.J.".

[edit] "Error"

To make this work when {{{1}}} is not a 3-digit number, or when {{{3}}} is not a 6-digit number, #if was used.

This, in turn, creates an error:

error: unrecognised punctuation character "{"

which only shows up here, but works fine otherwise.

Can someone fix this problem?

[edit] United States legal citation templates

Template A.k.a. Parameters Description
1 2 3 4
{{UnitedStatesCode}} {{USC}}, {{usc}} Title Section Link to the United States Code via Cornell University's Legal Information Institute
{{UnitedStatesCode2}} {{USC2}}, {{usc2}} Title Section Description description of the section
{{UnitedStatesCode3}} {{USC3}}, {{usc3}} Title Section-beginning Section-end allows a range of sections
{{UnitedStatesCodeSec}} {{USCSec}}, {{USC4}}, {{usc4}} Title Section when citing one of a series of sections of the United States Code, where it would be redundant to display the full citation for each section, this template can be used to display only the section number.
{{usc-clause}} Title Section Clause allows clauses
{{usc-title-chap}} Title Chapter title/chapter links
{{usc-title-part-chap}} Title Part Chapter title/part/chapter links
{{USStat}} {{usstat}} Volume Page Links to a specific page of the United States Statutes at Large via the Library of Congress or the Government Printing Office
{{USPL}} {{uspl}} Congress Ordinal law Link to a Public Law via the United States Government Printing Office (http://www.gpo.gov)
{{USBill}} Congress Bill type (S, SJ, HR, HJ) Bill number (1-?) Link via THOMAS to Congressional bills - Not yet correctly implemented
{{CodeFedReg}} {{CFR}} Volume Part Section Cites the Code of Federal Regulations through GPO Access
{{CfrClause}} Clause
Template A.k.a. 1 2 3 4 Description
Parameters

[edit] See also

{{UK SI}}