Difference between revisions of "Template:CodeFedReg/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Gurnec
(Undo most of the last 2 revisions - when the deprecated prefix arg is used, it appears it's easier to find the appendix/special section by linking to the part vs. the subpart)
imported>Gurnec
(fix additional whitespace issues)
Line 3: Line 3:
 
     [[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|}}}{{{prefix|}}} |
         <nowiki /> <nowiki /> }}
+
         <nowiki> </nowiki> }}
     | <nowiki /> <nowiki />
+
     | <nowiki> </nowiki>
 
     }}
 
     }}
 
   | [[Title {{{1}}} of the Code of Federal Regulations|{{{1}}} C.F.R.]] <nowiki />
 
   | [[Title {{{1}}} of the Code of Federal Regulations|{{{1}}} C.F.R.]] <nowiki />
Line 39: Line 39:
 
   {{#if: {{{2|}}} |
 
   {{#if: {{{2|}}} |
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
       | <nowiki /> {{lc:{{{2}}}}} }}
+
       | <!----> {{lc:{{{2}}}}} }}
 
   }}{{#if: {{{subtitle|}}} |
 
   }}{{#if: {{{subtitle|}}} |
     <nowiki /> Subtitle {{uc:{{{subtitle}}}}}
+
     <!----> Subtitle {{uc:{{{subtitle}}}}}
 
   }}{{#if: {{{volume|}}} |
 
   }}{{#if: {{{volume|}}} |
     <nowiki /> Volume {{{volume}}}
+
     <!----> Volume {{{volume}}}
 
   }}{{#if: {{{chapter|}}} |
 
   }}{{#if: {{{chapter|}}} |
     <nowiki /> Chapter {{uc:{{{chapter}}}}}
+
     <!----> Chapter {{uc:{{{chapter}}}}}
 
   }}{{#if: {{{subchapter|}}} |
 
   }}{{#if: {{{subchapter|}}} |
     <nowiki /> Subchapter {{uc:{{{subchapter}}}}}
+
     <!----> Subchapter {{uc:{{{subchapter}}}}}
 
   }}{{#if: {{{subpart|}}} |
 
   }}{{#if: {{{subpart|}}} |
     <nowiki /> Subpart {{uc:{{{subpart}}}}}
+
     <!----> Subpart {{uc:{{{subpart}}}}}
 
   }}{{#if: {{{prefix|}}} |
 
   }}{{#if: {{{prefix|}}} |
     <nowiki /> {{{prefix}}} {{{3|}}}
+
     <!----> {{{prefix}}} {{{3|}}}
 
   | {{#if: {{{3|}}} |
 
   | {{#if: {{{3|}}} |
     <nowiki /> &sect;{{lc:{{{3}}}}}{{{4|}}}
+
     <!----> &sect;{{lc:{{{3}}}}}{{{4|}}}
 
   }} }}
 
   }} }}
 
|
 
|
Line 59: Line 59:
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
 
       {{#if: {{{3|}}} |
 
       {{#if: {{{3|}}} |
         <nowiki /> <nowiki /> }}
+
         <!----> <!----> }}
       | <nowiki /> {{#if: {{{3|}}} | &sect;}}{{lc:{{{2}}}}}
+
       | <!----> {{#if: {{{3|}}} | &sect;}}{{lc:{{{2}}}}}
 
     }}{{#if: {{{3|}}} |
 
     }}{{#if: {{{3|}}} |
 
       .{{lc:{{{3}}}}}{{{4|}}} }}
 
       .{{lc:{{{3}}}}}{{{4|}}} }}

Revision as of 16:21, 27 February 2019

1 C.F.R. [1]