Difference between revisions of "Template:CodeFedReg/sandbox"

From blackwiki
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}}}}} |
      | <nowiki /> {{lc:{{{2}}}}} }}
+
    | {{lc:{{{2}}}}} }} <nowiki />
 
   }}{{#if: {{{subtitle|}}} |
 
   }}{{#if: {{{subtitle|}}} |
     <nowiki /> Subtitle {{uc:{{{subtitle}}}}}
+
     Subtitle {{uc:{{{subtitle}}}}}{{if||{{{volume|}}}{{{chapter|}}}{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}}
 
   }}{{#if: {{{volume|}}} |
 
   }}{{#if: {{{volume|}}} |
     <nowiki /> Volume {{{volume}}}
+
     Volume {{{volume}}}{{if||{{{chapter|}}}{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}}
 
   }}{{#if: {{{chapter|}}} |
 
   }}{{#if: {{{chapter|}}} |
     <nowiki /> Chapter {{uc:{{{chapter}}}}}
+
     Chapter {{uc:{{{chapter}}}}}{{if||{{{subchapter|}}}{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}}
 
   }}{{#if: {{{subchapter|}}} |
 
   }}{{#if: {{{subchapter|}}} |
     <nowiki /> Subchapter {{uc:{{{subchapter}}}}}
+
     Subchapter {{uc:{{{subchapter}}}}}{{if||{{{subpart|}}}{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}}
 
   }}{{#if: {{{subpart|}}} |
 
   }}{{#if: {{{subpart|}}} |
     <nowiki /> Subpart {{uc:{{{subpart}}}}}
+
     Subpart {{uc:{{{subpart}}}}}{{if||{{{appendix_desc|}}}{{{prefix|}}}{{{3|}}}| <nowiki />}}
   }}{{#if: {{{prefix|}}} |
+
   }}{{#if: {{{appendix_desc|}}} |
     <nowiki /> {{{prefix}}} {{{3|}}}
+
    {{{appendix_desc|}}}{{{4|}}}
 +
  | {{#if: {{{prefix|}}} |
 +
     {{{prefix}}} {{{3|}}}{{{4|}}}
 
   | {{#if: {{{3|}}} |
 
   | {{#if: {{{3|}}} |
     <nowiki /> &sect;{{lc:{{{3}}}}}{{{4|}}}
+
     &sect;{{lc:{{{3}}}}}{{{4|}}}
   }} }}
+
   }} }} }}
 
|
 
|
 
   {{#if: {{{2|}}} |
 
   {{#if: {{{2|}}} |
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
 
     {{#ifexist: Title {{{1}}} CFR Part {{lc:{{{2}}}}} |
      {{#if: {{{3|}}} |
+
    | {{#if: {{{3|}}} | &sect;}}{{lc:{{{2}}}}}
        <nowiki> </nowiki> }}
 
      | <nowiki /> {{#if: {{{3|}}} | &sect;}}{{lc:{{{2}}}}}
 
 
     }}{{#if: {{{3|}}} |
 
     }}{{#if: {{{3|}}} |
 
       .{{lc:{{{3}}}}}{{{4|}}} }}
 
       .{{lc:{{{3}}}}}{{{4|}}} }}
 
   }}
 
   }}
}}{{#if: {{{appendix_desc|}}} |
+
}}]</span><noinclude>
  <nowiki /> {{{appendix_desc}}} }}]</span><noinclude>
 
  
 
{{template sandbox notice}}
 
{{template sandbox notice}}
 
</noinclude>
 
</noinclude>

Revision as of 16:53, 28 February 2019

1 C.F.R. [1]