User:CharlesSpencer/sandbox/USStat section head template
Chap. {{{chapter}}}.—{{{title}}}.
Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled,
{{subst:
Approved, {{{date}}}.
}}
About
[edit]Intended to speed up proofreading of Acts of Congress. The format has been derived with reference to Volume 33 of the United States Statutes at Large, which appears to use a consistent format throughout. A rapid scan shows that Volume 32 appears to use the same format, although no other volumes have been reviewed.
The template assumes that sidenotes in the Page namespace are on the right unless the side parameter is set to left. All sidenotes display on the right in other namespaces regardless of the side parameter. Horizontal lines suppressed in the Page namespace by setting the topchap parameter to y are no longer suppressed in other namespaces either.
Mandatory parameters are:
- date: the date given in the sidenote, and in the last line of the Chapter as the date of approval, no final period
- public: set this to y for Public or n for Private
- serial: the number only - the text "Public/Private, No. " and the final period are supplied by the template
- congress: supply the string without its final period - will read S. or H.R. followed by a number and a period, e.g. H.R. 311.
- chapter: the number of the Chapter
- title: the title of the Act as specified, no final period
Optional parameters are:
- topchap: set to y to suppress the horizontal line at the start of the first chapter of a page; this is effective in the Page namespace only
- side: for sidenotes on the left set to left; this is effective in the Page namespace only
The template is unable to manage pagebreaks dynamically. The template can be used in the subst: mode to assist with the manual proofreading and formatting of Chapters crossing a pagebreak.
The template automatically formats the text, as well as providing section tags in the form <Chap##> for the entire template output, and <Chap##title> for the Chapter heading line and short title, where ## is the number defined in the chapter parameter.
Example
[edit]- Simple grant to a male pensioner
{{USStatPension | date = March 12, 2009 | serial = 1 | congress = S. 1234 | chapter = 4321 | type = g | grantee = The Fonz | quality = friend of Mr. C. | gender = m | rate = thirty}}
March 12, 2009.
[S. 1234.]
[Private, No. 1.]
The Fonz.
Pension.
Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled, That the Secretary of the Interior be, and he is hereby, authorized and directed to place on the pension roll, subject to the provisions and limitations of the pension laws, the name of The Fonz, friend of Mr. C., and pay him a pension at the rate of thirty dollars per month.
Approved, March 12, 2009.
- Increase of pension to a female pensioner with proviso
{{USStatPension | date = March 12, 2009 | serial = 2 | congress = H.R. 4321 | chapter = 1234 | type = i | grantee = Mrs. C. | quality = widow of Mr. C. | gender = f | rate = forty | proviso = That in the event of the death of Shortcake, the helpless and dependent child of said Mr. C., the additional pension herein granted on account of said child shall cease and determine.
|sidenote = Increase to cease on death of child.}}
March 12, 2009.
[H.R. 4321.]
[Private, No. 2.]
Mrs. C..
Pension increased.
Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled, That the Secretary of the Interior be, and he is hereby, authorized and directed to place on the pension roll, subject to the provisions and limitations of the pension laws, the name of Mrs. C., widow of Mr. C., and pay her a pension at the rate of forty dollars per month in lieu of that she is now receivingProviso.
Increase to cease on death of child.: Provided, That in the event of the death of Shortcake, the helpless and dependent child of said Mr. C., the additional pension herein granted on account of said child shall cease and determine..
Approved, March 12, 2009.
Category:Legislation formatting templates Category:Experimental templates