Template:Site: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
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|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}}| ]]
}}{{#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|limit=1}}| ]]
}} [[Commission date::start date::{{#ask:[[Category:Unit]][[site::{{PAGENAME}}]][[is cancelled::false]]|?Commission date=|sort=Commission date|order=ascending|mainlabel=-|limit=1}}| ]]
  | [[Category:Site]]  
  | [[Category:Site]]  
}}
}}

Revision as of 08:06, 14 November 2019

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