Template:Site: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Main template for the plant site info. Interfaces with [[Form:Site]]</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      = <big>'''[[name::{{{name|}}}]]'''</big>{{#if:{{{acronym|}}}|&nbsp;([[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:[[{{PAGENAME}}]][[is decommissioned::false]]}}|[[site decommissioned::false| ]]|[[site decommissioned::true|-Decommissioned]]}}{{#if:{{#ask:[[{{PAGENAME}}]][[is cancelled::false]]}}|[[site cancelled::false| ]][[Category:Site]]|[[site cancelled::true|-Cancelled]][[Category:Cancelled site]]}}|[[Category:Site]] }}
{{#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]]  
}}


|titlestyle  = {{#switch:{{{site type|}}}
|titlestyle  = {{#switch:{{{site type|}}}
| Plant = {{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}
| Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}
}}
}}
|headerstyle = background:#EFF5F5;
|headerstyle = background:#EFF5F5;
Line 15: Line 24:
|header1 = [[site type::{{{site type|}}}]]
|header1 = [[site type::{{{site type|}}}]]
|label2  = Company
|label2  = Company
|data2  = [[company::{{{company|}}}]]{{#if:{{#show:{{{company|}}}|?icon|link=none}}|[[company icon::{{#show:{{{company|}}}|?icon|link=none}}| ]]{{#show:{{{company|}}}|?icon}}}} <br> {{{company history|}}}
|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|}}}}}]])}}
|label7  = Where {{#if:{{{mapping location|}}}|[[mapping location text::{{{mapping location|}}}| ]]|([[mapping location text::{{#geocode:{{PAGENAME}} Plant, {{{state|}}}}}]])}}
|data7  = [[town::{{{town|}}}]], [[state::{{{state|}}}]]
|data7  = [[town::{{{town|}}}]], [[state::{{{state|}}}]]
Line 32: Line 41:
|label11 = [[ISFSI]] docket
|label11 = [[ISFSI]] docket
|data11  = [[ISFSI docket::{{{ISFSI docket|}}}]]
|data11  = [[ISFSI docket::{{{ISFSI docket|}}}]]
|header15 = {{#if:{{{company history|}}}|Company History }}
|data16  = {{#if:{{{company history|}}}|{{{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 13:41, 12 June 2024

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