Template:USPL

From Wikipedia, the free encyclopedia

Expression error: Unrecognised punctuation character "{"

Contents

[edit] Description

This links to a specific Act of Congress as a Public Law via:

[edit] Usage

Use: {{USPL|Congress|Order}}

[edit] Examples

The 14th Public Law of the 93rd Congress:

{{USPL|93|14}} returns Pub.L. 93-14

The 50th Public Law of the 103rd Congress:

{{USPL|103|50}} returns Pub.L. 103-50

The 222nd Public Law of the 109th Congress:

{{USPL|109|222}} returns Pub.L. 109-222

[edit] Note

To make this work when {{{2}}} is not a 3-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?

The template documentation below is transcluded from Template:USPL/doc [edit]

[edit] United States legal citation templates

Parameters in (parentheses) are optional.

Template Parameter(s) Description
1 2 3 4 pipe
{{UnitedStatesCode}}, {{USC}}, {{usc}}, {{usc3}} Title Section (end of section range)   (pipe) United States Code via Cornell University's Legal Information Institute
{{UnitedStatesCode2}}, {{USC2}}, {{usc2}} Title Section Description   USC via Cornell: description of the section
{{UnitedStatesCodeSec}}, {{USCSec}}, {{USC4}}, {{usc4}} Title Section   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.
{{usc-clause}} Title Section Clause   USC via Cornell: allows clauses
{{usc-title-chap}}, {{usctc}} Title Chapter (Subchapter)   (pipe) USC via Cornell: title/chapter links
{{usc-title-part-chap}} Title Part Chapter   USC via Cornell: title/part/chapter links
{{USStat}}, {{usstat}} Volume Page     Statutes at Large via the Library of Congress or the Government Printing Office
{{USPL}}, {{uspl}} Congress Ordinal law   Public Law via GPO Access
{{USBill}} Congress Bill type (S, SJ, HR, HJ) Bill number (1-?)   (pipe) Congressional bills via THOMAS
{{USCongRec}} Year Page   Congressional Record via GPO Access
{{USFR}}, {{USFedReg}} Volume Page   Federal Register via GPO Access
{{CodeFedReg}}, {{CFR}}, {{USCFR}} Volume Part Section   Code of Federal Regulations through GPO Access
{{CfrClause}} Volume Part Section Clause   CFR via GPO: Clause
{{ExecutiveOrder}}, {{EO}} Number   Executive Orders via Wikisource
Template 1 2 3 4 pipe Description
Parameter(s)
In other languages