Template:Site: Difference between revisions
Jump to navigation
Jump to search
StriderTol (talk | contribs) No edit summary |
StriderTol (talk | contribs) No edit summary |
||
(14 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|}}}| ([[has acronym::{{{acronym|}}}]])}} | |title = <big>'''[[name::{{{name|}}}]]'''</big>{{#if:{{{acronym|}}}| ([[has acronym::{{{acronym|}}}]])}} | ||
{{#if:{{{full name|}}}|<br><small>''[[full name::{{{full name|}}}]]''</small>}}{{#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]]}} | {{#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 = {{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}} | |titlestyle = {{#switch:{{{site type|}}} | ||
| Plant = {{#if:{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}} | |||
}} | |||
|headerstyle = background:#EFF5F5; | |headerstyle = background:#EFF5F5; | ||
|labelstyle = background:#ddf;width:33% | |labelstyle = background:#ddf;width:33% | ||
Line 13: | 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} | |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 30: | 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