Template:Site: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Main template for the plant site info.</noinclude><includeonly>{{#if:{{{mapping location|}}}|{{site-Nav|mapping location={{{mapping location|}}}}}|{{site-Nav|name={{{name|}}}|state={{{state|}}}}}}}{{Infobox
<noinclude>Main template for the plant site info. Interfaces with [[Form:Site]]</noinclude><includeonly>{{#if:{{{mapping location|}}}|{{site-Nav|mapping location={{{mapping location|}}}|site type={{{site type|}}}}}|{{site-Nav|name={{{name|}}}|state={{{state|}}}|site type={{{site type|}}}}}}}{{Infobox
|bodystyle  = width:30%;
|bodystyle  = width:30%;
|name        = Site
|name        = Site


|title      = [[full name::{{PAGENAME}}]] [[name::{{{name|}}}| ]] {{#if:{{{acronym|}}}|([[has acronym::{{{acronym|}}}]])}}
|title      = <big>'''[[name::{{{name|}}}]]'''</big>{{#if:{{{acronym|}}}|&nbsp;([[has acronym::{{{acronym|}}}]])}}
{{#if:{{{full name|}}}|<br><small>''[[full name::{{{full name|}}}]]''</small>}}{{#switch:{{{site type|}}}
| Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}
  |[[site decommissioned::false| ]]
  |[[site decommissioned::true|-Decommissioned]][[Decommission date::end date::{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::true]]|?Decommission date=|sort=Decommission date|order=descending|mainlabel=-|limit=1|searchlabel=}}| ]]
}}{{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is cancelled::false]]}}
  |[[site cancelled::false| ]][[Category:Site]]
  |[[site cancelled::true|-Cancelled]][[Category:Cancelled site]]
}} [[Commission date::start date::{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is cancelled::false]]|?Commission date=|sort=Commission date|order=ascending|mainlabel=-|limit=1|searchlabel=}}| ]]
| [[Category:Site]]  
}}


{{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|[[site decommissioned::false| ]]|[[site decommissioned::true|-Decommissioned]]}}
|titlestyle  = {{#switch:{{{site type|}}}
 
| Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}
|titlestyle  = {{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}
}}
|headerstyle = background:#EFF5F5;
|headerstyle = background:#EFF5F5;
|labelstyle  = background:#ddf;width:33%
|labelstyle  = background:#ddf;width:33%
|datastyle  =  
|datastyle  =  


|header1 = Where {{#if:{{{mapping location|}}}|[[mapping location text::{{{mapping location|}}}| ]]|([[mapping location text::{{#geocode:{{PAGENAME}} Plant, {{{state|}}}}}]])}}
|header1 = [[site type::{{{site type|}}}]]
|label2 = Region
|label2  = Company
|data2  = {{#switch:{{{region|}}}
|data2  = [[company::{{{company|}}}]]{{#if:{{#show:{{{company|}}}|?icon|link=none}}|[[company icon::{{#show:{{{company|}}}|?icon|link=none}}| ]]{{#show:{{{company|}}}|?icon}}}}
|label7  = Where {{#if:{{{mapping location|}}}|[[mapping location text::{{{mapping location|}}}| ]]|([[mapping location text::{{#geocode:{{PAGENAME}} Plant, {{{state|}}}}}]])}}
|data7  = [[town::{{{town|}}}]], [[state::{{{state|}}}]]
|label8 =
|data8  =
 
|header9 = Regulatory
|label10 = Region
|data10  = {{#switch:{{#sub:{{{region|}}}|-1}}
| 1 = [[NRC region::Region::NRC Region {{{region|}}}]]
| 1 = [[NRC region::Region::NRC Region {{{region|}}}]]
| 2 = [[NRC region::Region::NRC Region {{{region|}}}]]
| 2 = [[NRC region::Region::NRC Region {{{region|}}}]]
Line 21: Line 39:
| [[Region::{{{region|}}}]]
| [[Region::{{{region|}}}]]
}}
}}
|label11 = [[ISFSI]] docket
|data11  = [[ISFSI docket::{{{ISFSI docket|}}}]]


|label3  = State
|header15 = {{#if:{{{company history|}}}|Company History }}
|data3  = [[state::{{{state|}}}]]
|data16   = {{#if:{{{company history|}}}|{{{company history|}}} }}
|label4  = Town
|data4  = [[town::{{{town|}}}]]
 
|label5  = Company
|data5   = [[company::{{{company|}}}]]{{#if:{{#show:{{{company|}}}|?icon|link=none}}|[[company icon::{{#show:{{{company|}}}|?icon|link=none}}| ]]{{#show:{{{company|}}}|?icon}}}} <br> {{{company history|}}}


|belowstyle = background:Seashell;
|belowstyle = background:Seashell;
|below = ''[[wikipedia:{{{wikipedia|}}}|wikipedia link]]''
|below = ''[[wikipedia:{{{wikipedia|}}}|wikipedia link]]''
}}{{{site unit|}}}<br clear="all" /></includeonly>
}}{{{site unit|}}}<br clear="all" /></includeonly>

Latest revision as of 12:41, 12 June 2024

Main template for the plant site info. Interfaces with Form:Site