Difference between revisions of "Template:CodeFedReg/testcases"
Jump to navigation
Jump to search
imported>Gurnec (Add missing subtitle test) |
imported>Gurnec (test case where a part is split across multiple volumes) |
||
| Line 35: | Line 35: | ||
;<code><nowiki>{{</nowiki>CodeFedReg/sandbox<nowiki>|47|73}}</nowiki></code> — title+part only | ;<code><nowiki>{{</nowiki>CodeFedReg/sandbox<nowiki>|47|73}}</nowiki></code> — title+part only | ||
:{{CodeFedReg/sandbox|47|73}} | :{{CodeFedReg/sandbox|47|73}} | ||
| + | |||
| + | ;<code><nowiki>{{</nowiki>CodeFedReg/sandbox<nowiki>|26|1|volume=7}}</nowiki></code> — title+part+volume (where the part is split across multiple volumes) | ||
| + | :{{CodeFedReg/sandbox|26|1|volume=7}} | ||
;<code><nowiki>{{</nowiki>CodeFedReg/sandbox<nowiki>|47|73|1650}}</nowiki></code> — title+part+section (and no subpart) | ;<code><nowiki>{{</nowiki>CodeFedReg/sandbox<nowiki>|47|73|1650}}</nowiki></code> — title+part+section (and no subpart) | ||
Revision as of 16:56, 1 March 2019
| 42px | This is the template test cases page for the sandbox of Template:CodeFedReg. Script error: No such module "Purge". 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 with these links: |
Contents
Testing main 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 C.F.R. 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 C.F.R. 1
{{CodeFedReg/sandbox|47|73|subpart=H|1650}}— both subpart and section given, so section should override in link- 47 C.F.R. 73.1650
Appendices and other special sections
{{CodeFedReg/sandbox|14|121|appendix=.0000_0nbspnbspnbsp.k|appendix_desc=Appendix K}}— title+part+appendix- 14 C.F.R. 121
{{CodeFedReg/sandbox|14|91|appendix=.2|appendix_desc=SFAR 60}}— title+part+special section- 14 C.F.R. 91
Deprecated unusual prefixed section IDs
Displays as it did before but now links only to the part.