Template:Site: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 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
Line 7: Line 7:
  | Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}
  | Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}
   |[[site 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}}| ]]
   |[[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]]}}
}}{{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is cancelled::false]]}}
   |[[site cancelled::false| ]][[Category:Site]]
   |[[site cancelled::false| ]][[Category:Site]]
   |[[site cancelled::true|-Cancelled]][[Category:Cancelled 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}}| ]]
}} [[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]]  
  | [[Category:Site]]  
}}
}}
Line 24: 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 41: 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 12:41, 12 June 2024

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