Template:Site: Difference between revisions
Jump to navigation
Jump to search
StriderTol (talk | contribs) No edit summary |
StriderTol (talk | contribs) 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|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]] | ||
}} | }} |
Revision as of 08:18, 14 November 2019
Main template for the plant site info. Interfaces with Form:Site