Template:NRC org naming: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{#explode:{{{1|}}}|/|3}}
<includeonly>{{#if:{{#explode:{{{1|}}}|/|3}}
  | [[Category:NRC Branch]]
  | [[Category:NRC Branch]]{{#switch:{{#explode:{{{1|}}}|/|1}}
  | RGN-I = [[NRC region::NRC Region 1| ]]
  | R-I = [[NRC region::NRC Region 1| ]]
  | RGN-II = [[NRC region::NRC Region 2| ]]
  | R-II = [[NRC region::NRC Region 2| ]]
  | RGN-III = [[NRC region::NRC Region 3| ]]
  | R-III = [[NRC region::NRC Region 3| ]]
  | RGN-IV = [[NRC region::NRC Region 4| ]]
  | R-IV = [[NRC region::NRC Region 4| ]]
  | [[Office::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}| ]]}}[[Division::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}/{{#explode:{{{1|}}}|/|2}}| ]]
  | {{#if:{{#explode:{{{1|}}}|/|2}}
  | {{#if:{{#explode:{{{1|}}}|/|2}}
  | [[Category:NRC Division]]
  | [[Category:NRC Division]]{{#switch:{{#explode:{{{1|}}}|/|1}}
  | RGN-I = [[NRC region::NRC Region 1| ]]
  | R-I = [[NRC region::NRC Region 1| ]]
  | RGN-II = [[NRC region::NRC Region 2| ]]
  | R-II = [[NRC region::NRC Region 2| ]]
  | RGN-III = [[NRC region::NRC Region 3| ]]
  | R-III = [[NRC region::NRC Region 3| ]]
  | RGN-IV = [[NRC region::NRC Region 4| ]]
  | R-IV = [[NRC region::NRC Region 4| ]]
  | [[Office::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}| ]]}}
   | {{#if:{{#explode:{{{1|}}}|/|1}}
   | {{#if:{{#explode:{{{1|}}}|/|1}}
   | [[Category:NRC Office]]
   | {{#switch:{{#explode:{{{1|}}}|/|1}}
    | RGN-I = [[Category:NRC Region]][[NRC region::NRC Region 1| ]]
    | R-I = [[Category:NRC Region]][[NRC region::NRC Region 1| ]]
    | RGN-II = [[Category:NRC Region]][[NRC region::NRC Region 2| ]]
    | R-II = [[Category:NRC Region]][[NRC region::NRC Region 2| ]]
    | RGN-III = [[Category:NRC Region]][[NRC region::NRC Region 3| ]]
    | R-III = [[Category:NRC Region]][[NRC region::NRC Region 3| ]]
    | RGN-IV = [[Category:NRC Region]][[NRC region::NRC Region 4| ]]
    | R-IV = [[Category:NRC Region]][[NRC region::NRC Region 4| ]]
    | [[Category:NRC Office]]
    }}
   }}
   }}
  }}
  }}
}}  
}}</includeonly>
{{#switch:{{#explode:{{{1|}}}|/|1}}
| RGN-I = [[NRC region::NRC Region 1]]: {{#ask:[[Category:NRC Division]][[NRC region::NRC Region 1]]|?has acronym=|format=list|template=name-link|link=none}}
| RGN-II = [[NRC region::NRC Region 2]]: {{#ask:[[Category:NRC Division]][[NRC region::NRC Region 2]]|?has acronym=|format=list|template=name-link|link=none}}
| RGN-III = [[NRC region::NRC Region 3]]: {{#ask:[[Category:NRC Division]][[NRC region::NRC Region 3]]|?has acronym=|format=list|template=name-link|link=none}}
| RGN-IV = [[NRC region::NRC Region 4]]: {{#ask:[[Category:NRC Division]][[NRC region::NRC Region 4]]|?has acronym=|format=list|template=name-link|link=none}}
| NRR = {{#if:{{#explode:{{{1|}}}|/|2}}|[[office::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}| ]] }}
| {{#if:{{#explode:{{{1|}}}|/|2}}|[[office::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}| ]] }}
}} {{#switch:{{#explode:{{{1|}}}|/|2}}
| {{#if:{{#explode:{{{1|}}}|/|2}}|[[division::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}/{{#explode:{{{1|}}}|/|2}}| ]] }}
}} {{#switch:{{#explode:{{{1|}}}|/|3}}
| {{#if:{{#explode:{{{1|}}}|/|3}}|<br> [[branch::{{#explode:{{{1|}}}|/|0}}/{{#explode:{{{1|}}}|/|1}}/{{#explode:{{{1|}}}|/|2}}/{{#explode:{{{1|}}}|/|3}}| ]] }}
}}

Latest revision as of 21:33, 25 May 2019