Difference between revisions of "Template:CodeFedReg/sandbox"
Jump to navigation
Jump to search
imported>Gurnec (Undo most of the last hack which worked locally but not here) |
imported>Gurnec (fix additional whitespace issues) |
||
| Line 2: | Line 2: | ||
{{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | ||
[[Title {{{1}}} CFR Part {{lc:{{{2}}}}}|{{{1}}} C.F.R. {{lc:{{{2}}}}}]]{{#if: {{{3|}}} | | [[Title {{{1}}} CFR Part {{lc:{{{2}}}}}|{{{1}}} C.F.R. {{lc:{{{2}}}}}]]{{#if: {{{3|}}} | | ||
| − | {{#if: {{{subtitle|}}}{{{volume|}}}{{{chapter|}}}{{{subpart|}}}{{{prefix|}}} | | + | {{#if: {{{subtitle|}}}{{{volume|}}}{{{chapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}} | |
<nowiki> </nowiki> }} | <nowiki> </nowiki> }} | ||
| <nowiki> </nowiki> | | <nowiki> </nowiki> | ||
| Line 36: | Line 36: | ||
tab_02 | tab_02 | ||
}} }} }}.tpl | }} }} }}.tpl | ||
| − | }}{{#if: {{{subtitle|}}}{{{volume|}}}{{{chapter|}}}{{{subpart|}}}{{{prefix|}}} | | + | }} {{#if: {{{subtitle|}}}{{{volume|}}}{{{chapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}} | |
{{#if: {{{2|}}} | | {{#if: {{{2|}}} | | ||
{{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | ||
| − | + | | {{lc:{{{2}}}}} }} <nowiki /> | |
}}{{#if: {{{subtitle|}}} | | }}{{#if: {{{subtitle|}}} | | ||
| − | + | Subtitle {{uc:{{{subtitle}}}}}{{if||{{{volume|}}}{{{chapter|}}}{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}} | |
}}{{#if: {{{volume|}}} | | }}{{#if: {{{volume|}}} | | ||
| − | + | Volume {{{volume}}}{{if||{{{chapter|}}}{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}} | |
}}{{#if: {{{chapter|}}} | | }}{{#if: {{{chapter|}}} | | ||
| − | + | Chapter {{uc:{{{chapter}}}}}{{if||{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}} | |
}}{{#if: {{{subchapter|}}} | | }}{{#if: {{{subchapter|}}} | | ||
| − | + | Subchapter {{uc:{{{subchapter}}}}}{{if||{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}} | |
}}{{#if: {{{subpart|}}} | | }}{{#if: {{{subpart|}}} | | ||
| − | + | Subpart {{uc:{{{subpart}}}}}{{if||{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}} | |
| − | }}{{#if: {{{prefix|}}} | | + | }}{{#if: {{{appendix_desc|}}} | |
| − | + | {{{appendix_desc|}}}{{{4|}}} | |
| + | | {{#if: {{{prefix|}}} | | ||
| + | {{{prefix}}} {{{3|}}}{{{4|}}} | ||
| {{#if: {{{3|}}} | | | {{#if: {{{3|}}} | | ||
| − | + | §{{lc:{{{3}}}}}{{{4|}}} | |
| − | }} }} | + | }} }} }} |
| | | | ||
{{#if: {{{2|}}} | | {{#if: {{{2|}}} | | ||
{{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} | | ||
| − | + | | {{#if: {{{3|}}} | §}}{{lc:{{{2}}}}} | |
| − | |||
| − | |||
}}{{#if: {{{3|}}} | | }}{{#if: {{{3|}}} | | ||
.{{lc:{{{3}}}}}{{{4|}}} }} | .{{lc:{{{3}}}}}{{{4|}}} }} | ||
}} | }} | ||
| − | + | }}]</span><noinclude> | |
| − | |||
{{template sandbox notice}} | {{template sandbox notice}} | ||
</noinclude> | </noinclude> | ||
Revision as of 16:53, 28 February 2019
| 50px | This is the template sandbox page for Template:CodeFedReg (diff). See also the companion subpage for test cases. |