Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a226d3bf6c34376a

Jump to content

Template:Code of Federal Regulations/testcases

From Wikipedia, the free encyclopedia

Testing main template

[edit]

For every example (two lines), first is the main template, the second is the sandbox template.

No part argument provided

[edit]
{{CodeFedReg/sandbox|47}} title only
47 CFR

47 CFR

{{CodeFedReg/sandbox|34|subtitle=B}} title+subtitle
34 CFR

34 CFR

{{CodeFedReg/sandbox|47|volume=5}} title+volume
47 CFR

47 CFR

{{CodeFedReg/sandbox|47|chapter=I}} title+chapter
47 CFR

47 CFR

{{CodeFedReg/sandbox|47|chapter=I|subchapter=D}} title+chapter+subchapter
47 CFR

47 CFR

Title XXX CFR Part YYY exists as a Wikipedia article

[edit]
{{CodeFedReg/sandbox|47|15}} title+part only
47 CFR 15

47 CFR 15

{{CodeFedReg/sandbox|47|15|239}} title+part+section (and no subpart)
47 CFR 15.239

47 CFR 15.239

{{CodeFedReg/sandbox|47|15|subpart=C}} title+part+subpart and no section
47 CFR 15

47 CFR 15

{{CodeFedReg/sandbox|47|15|subpart=C|239}} both subpart and section given, so section should override in link
47 CFR 15.239

47 CFR 15.239

Title XXX CFR Part YYY doesn't exist as a Wikipedia article

[edit]
{{CodeFedReg/sandbox|47|73}} title+part only
47 CFR 73

47 CFR 73

{{CodeFedReg/sandbox|26|1|volume=7}} title+part+volume (where the part is split across multiple volumes)
26 CFR 1

26 CFR 1

{{CodeFedReg/sandbox|47|73|1650}} title+part+section (and no subpart)
47 CFR 73.1650

47 CFR 73.1650

{{CodeFedReg/sandbox|47|73|subpart=H}} title+part+subpart and no section
47 CFR 73

47 CFR 73

{{CodeFedReg/sandbox|47|73|subpart=H|1650}} both subpart and section given, so section should override in link
47 CFR 73.1650

47 CFR 73.1650

Appendices and other special sections

[edit]
{{CodeFedReg/sandbox|40|88|104-94}} title+part+section containing a dash
40 CFR 88.104-94

40 CFR 88.104-94

{{CodeFedReg/sandbox|14|121|appendix=.0000_0nbspnbspnbsp.k|appendix_desc=Appendix K}} title+part+appendix
14 CFR 121

14 CFR 121

{{CodeFedReg/sandbox|14|91|appendix=.2|appendix_desc=SFAR 60}} title+part+special section
14 CFR 91

14 CFR 91

Deprecated unusual prefixed section IDs

[edit]

Displays as it did before but now links only to the part.

{{CodeFedReg/sandbox|14|91|prefix=SFAR|60}} oddly prefixed section given
14 CFR 91.60

14 CFR 91.60

{{CodeFedReg/sandbox|14|91|subpart=L|prefix=App|G}} subpart and oddly prefixed section given
14 CFR 91.G

14 CFR 91.G

Clause

[edit]
Clause
{{Code of Federal Regulations|38|3|262|a=q}}

{{Code of Federal Regulations}}

38 CFR 3.262

{{Code of Federal Regulations/sandbox}}


38 CFR 3.262

Expected: 38 CFR 3.262(q)

Clause multi
{{Code of Federal Regulations|38|3|262|a=q_2}}

{{Code of Federal Regulations}}

38 CFR 3.262

{{Code of Federal Regulations/sandbox}}


38 CFR 3.262

Expected: 38 CFR 3.262(q)(2)