Template:Code of Federal Regulations/testcases
| This is the template test cases page for the sandbox of Template:Code of Federal Regulations. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Testing main template
For every example (two lines), first is the main template, the second is the sandbox template.
No part argument provided
Title XXX CFR Part YYY exists as a Wikipedia article
{{CodeFedReg/sandbox|47|15|subpart=C|239}}— both subpart and section given, so section should override in link- 47 CFR 15.239
Title XXX CFR Part YYY doesn't exist as a Wikipedia article
{{CodeFedReg/sandbox|26|1|volume=7}}— title+part+volume (where the part is split across multiple volumes)- 26 CFR 1
{{CodeFedReg/sandbox|47|73|subpart=H|1650}}— both subpart and section given, so section should override in link- 47 CFR 73.1650
Appendices and other special sections
{{CodeFedReg/sandbox|14|121|appendix=.0000_0nbspnbspnbsp.k|appendix_desc=Appendix K}}— title+part+appendix- 14 CFR 121
{{CodeFedReg/sandbox|14|91|appendix=.2|appendix_desc=SFAR 60}}— title+part+special section- 14 CFR 91
Deprecated unusual prefixed section IDs
Displays as it did before but now links only to the part.
{{CodeFedReg/sandbox|14|91|subpart=L|prefix=App|G}}— subpart and oddly prefixed section given- 14 CFR 91.G
Clause
Clause
{{Code of Federal Regulations|38|3|262|a=q}}
{{Code of Federal Regulations}}
Expected: 38 CFR 3.262(q)
Clause multi
{{Code of Federal Regulations|38|3|262|a=q_2}}
{{Code of Federal Regulations}}
Expected: 38 CFR 3.262(q)(2)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.