User:SarekOfVulcan/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 SJ 52

The 889th House Resolution of the 109th Congress:

{{USBill|109|HR|889}} returns HR 889

[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] See also