틀:Code of Federal Regulations
사용법
[편집]이 틀은 미국연방규정집을 자동으로 링크하여 인용합니다. 제목 및 파트가 위키백과에 존재하면 위키링크로 연결하고, 하위 파트 및 섹션에 대해서는 미국 정부의 GPO Access 사이트로 외부 링크를 만듭니다.
이 틀은 외부 사이트로 연결됩니다. 외부 링크는 일반적으로 문서 본문에서 사용해서는 안 됩니다. 허용되거나 허용되지 않는 사용에 대한 논의는 위키백과:외부 링크를 참조합니다. **매개변수(예: title, part, section 등)에 공백을 사용하면 틀에 의해 생성되는 외부 링크가 깨집니다.
{{Code of Federal Regulations|13|136|130|g}} 또는 {{Code of Federal Regulations|1=13|2=136|3=130|a=g}}
1= 제목2= 파트3= 섹션a= 조항 (선택 사항)
{{Code of Federal Regulations|24|884|subpart=C}} 또는 {{Code of Federal Regulations|1=24|2=884|subpart=C}}
1= 제목2= 파트subpart= 하위 파트
{{Code of Federal Regulations|40|58|prefix=App|G}} 또는 {{Code of Federal Regulations|1=40|2=58|prefix=App|3=G}}
1= 제목2= 파트prefix=Examp= 접두사 약어 (GPO Access 인용에서 사용되는 대로; 종종 부록의 경우prefix=App)3= 섹션 (선택 사항; 일부 접두사의 경우 문자일 때도 있음)a= 조항 (선택 사항)
{{Code of Federal Regulations|23|710|subpart=D|403|d}} 또는 {{Code of Federal Regulations|1=23|2=710|subpart=D|3=403|a=e}}
1= 제목2= 파트subpart= 하위 파트3= 섹션 (선택 사항)a= 조항 (선택 사항)
하위 파트와 섹션이 모두 주어지면 둘 다 표시되지만, 링크는 더 구체적인 섹션으로 연결됩니다.
- 선택적 매개변수
year=2000= 현재 연도 대신 사용할 연도; GPO Access는 몇 년 전의 규정 사본을 가지고 있습니다.accessdate=틀:Today (mdy)= 인용에 "접근 날짜" 언어를 추가한다.
prefix, subpart, year, accessdate는 2010년 10월 22일부터 새로 추가되었습니다.
더 많은 예시와 결과는 Template:CodeFedReg/testcases를 참조합니다.
틀 데이터
[편집]This template generates a link to a section of the U.S. Code of Federal Regulations (CFR)
| 변수 | 설명 | 형식 | 상태 | |
|---|---|---|---|---|
| Title | 1 | Title within the CFR | 숫자 | 필수 |
| Part | 2 | Part of within CFR | 숫자 | 권장 |
| Section | 3 | Section within the CFR | 문자열 | 권장 |
| Clause | 4 | Clause within the CFR, with levels of subclauses separated by underscores (_) | 문자열 | 권장 |
| Subpart | subpart | Subpart within the CFR (unusual) | 문자열 | 선택 사항 |
| Section prefix | prefix | Prefix for section within the CFR (unusual) | 문자열 | 선택 사항 |
| Year | year | Year, only if not current year | 날짜 | 선택 사항 |
| Access date | accessdate | Date accessed, for use in citations | 날짜 | 선택 사항 |