Template:Site: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


|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>}}{{#if:{{{site type|}}}|{{#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:[[{{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]]}} }}


|titlestyle  = {{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}
|titlestyle  = {{#if:{{#ask:[[{{PAGENAME}}]][[is decommissioned::false]]}}|background:#EFF5F5;|background:#A8A8A8;}}

Revision as of 07:01, 24 September 2018

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