Template:EPID-Nav: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
|navbar    = on
|navbar    = on
|state      = autocollapse
|state      = autocollapse
|title      = [[:Category:EPID|EPID]] - {{#if:{{{EPID id|}}}|[[EPID id::EPID:{{{EPID id|}}}|{{{EPID id|}}}, {{#if:{{#show:EPID:{{{EPID id|}}}|?name|link=none}}|{{#show:EPID:{{{EPID id|}}}|?name|link=none}} }}]] }} {{#if:{{#show:{{PAGENAME}}|?status|link=none}}|({{#show:{{PAGENAME}}|?status|link=none}}) }} [[EPID type::{{#explode:{{{EPID id|}}}|-|0}}| ]][[EPID year::{{#explode:{{{EPID id|}}}|-|1}}| ]][[EPID number::{{#explode:{{{EPID id|}}}|-|3}}| ]]
|title      = [[:Category:EPID|EPID]] - {{#if:{{{EPID id|}}}|[[EPID id::EPID:{{{EPID id|}}}|{{{EPID id|}}}, {{#if:{{#show:EPID:{{{EPID id|}}}|?name|link=none}}|{{#show:EPID:{{{EPID id|}}}|?name|link=none}} }}]] }} {{#if:{{#show:{{PAGENAME}}|?status|link=none}}|({{#show:{{PAGENAME}}|?status|link=none}}) }} [[EPID type::{{#explode:{{{EPID id|}}}|-|0}}| ]][[EPID year::{{#explode:{{{EPID id|}}}|-|1}}| ]][[EPID number::{{#explode:{{{EPID id|}}}|-|3}}| ]]<br>[[start date::issue date::{{#ask:[[Project::EPID:{{{EPID id|}}}]]
|mainlabel=-|?Issue date=|sort=Issue date|order=ascending|limit=1|searchlabel=
}}]]&nbsp;-&nbsp;[[end date::{{#ask:[[Project::EPID:{{{EPID id|}}}]]
|mainlabel=-|?Issue date=|sort=Issue date|order=descending|limit=1|searchlabel=
}}]]  


|above      = Request for: {{#if:{{{Request for|}}}|[[Request for::{{{Request for|}}}]]|{{#if:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none}}|{{#arraymap:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none}}|,|x|[[Request for::x]]}} }} }} {{#switch:{{#explode:{{{EPID id|}}}|-|2}}
|above      = Request for: {{#if:{{{Request for|}}}|[[Request for::{{{Request for|}}}]]|{{#if:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none}}|{{#arraymap:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none}}|,|x|[[Request for::x]]}} }} }} {{#switch:{{#explode:{{{EPID id|}}}|-|2}}
Line 16: Line 20:


|group2 = From:
|group2 = From:
|list2 = {{#if:{{{site|}}}|{{#arraymap:{{{site|}}}|,|x|[[site::{{name|x}}]]}}}}
|list2 = {{#if:{{{site|}}}|{{#arraymap:{{{site|}}}|,|x|[[site::{{name|x}}]]}}}} {{#ask:[[Category:Project]][[Site::{{#show:{{#explode:{{{site|}}}|,|0}}|?name}}]][[status::Open]]
 
|?start date
Active EPID {{#if:{{{site|}}}|@ {{#show:{{#explode:{{{site|}}}|,|0}}|?name}}}}
|?status
<br>[[start date::issue date::{{#ask:[[Project::EPID:{{{EPID id|}}}]]
|sort=start date
|mainlabel=-|?Issue date=|sort=Issue date|order=ascending|limit=1|searchlabel=
|order=descending
}}]]&nbsp;-&nbsp;[[end date::{{#ask:[[Project::DPID:{{{EPID id|}}}]]
|limit=0
|mainlabel=-|?Issue date=|sort=Issue date|order=descending|limit=1|searchlabel=
|searchlabel=[Open Projects at {{#show:{{#explode:{{{site|}}}|,|0}}|?name}}]
}}]]
}}


|list3 = {{#if:{{{site|}}}|{{#ask:[[Category:Project]][[site::{{#arraymap:{{{site|}}}|,|x|x|{{!!}}}}]]|?name|?start date|?end date|sort=start date|order=descending|format=table|limit=0|searchlabel=[list all from site]}} }}
|list3 = {{#if:{{{site|}}}|{{#ask:[[Category:Project]][[site::{{#arraymap:{{{site|}}}|,|x|x|{{!!}}}}]]|?name|?start date|?end date|sort=start date|order=descending|format=table|limit=0|searchlabel=[list all from site]}} }}

Revision as of 10:36, 4 April 2018

This template is the nav bar of Template:EPID-Nav. Note: TAC became CAC which became EPID, but otherwise they are the same thing.