Template:TAC-Nav: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 5: Line 5:
|navbar    = on
|navbar    = on
|state      = autocollapse
|state      = autocollapse
|title      = [[:Category:TAC|TAC]] - {{#if:{{{TAC id|}}}|[[TAC id::TAC:{{{TAC id|}}}|{{{TAC id|}}}]]}}, {{#if:{{{name|}}}|[[name::{{{name|}}}]]|{{#if:{{#show:TAC:{{{TAC id|}}}|?name|link=none}}|{{#show:TAC:{{{TAC id|}}}|?name|link=none}} }} }}{{#if:{{{status|}}}|([[status::{{{status|}}}]]) }} [[TAC type::{{#explode:{{{TAC id|}}}|-|0}}| ]][[TAC year::{{#explode:{{{TAC id|}}}|-|1}}| ]][[TAC number::{{#explode:{{{TAC id|}}}|-|3}}| ]]
|title      = [[:Category:TAC|TAC]] - [[TAC id::TAC:{{{TAC id|}}}|{{{TAC id|}}}]], {{#if:{{{name|}}}|[[name::{{{name|}}}]]|{{#if:{{#show:TAC:{{{TAC id|}}}|?name|link=none}}|{{#show:TAC:{{{TAC id|}}}|?name|link=none}} }}{{#if:{{#show:{{PAGENAME}}|?status|link=none}}|({{#show:{{PAGENAME}}|?status|link=none}}) }}<br>[[start date::issue date::{{#ask:[[Project::TAC:{{{TAC id|}}}]]
|mainlabel=-|?Issue date=|sort=Issue date|order=ascending|limit=1|searchlabel=
}}]]&nbsp;-&nbsp;[[end date::{{#ask:[[Project::TAC:{{{TAC 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]]}} }} }}  
|above      = Request for: {{#if:{{{Request for|}}}
|[[Request for::{{{Request for|}}}]]
|{{#ifexpr:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none|format=count}} > 1
  |{{#arraymap:{{#ask:[[Project::{{PAGENAME}}]][[TSTF::+]]|mainlabel=-|?TSTF=|link=none|limit=1|searchlabel=}}|,|x|[[Request for::x]] - [[name::{{name|x}}]]}}
}}
}} <br>{{#show:{{PAGENAME}}|?Status}}


|list1 = {{Project col}}
|list1 = {{Project col}}


|group2 = From
|group2 = From  
|list2 = {{#if:{{{site|}}}|from {{#arraymap:{{{site|}}}|,|x|[[site::{{name|x}}]]}}}}
|list2 = {{#arraymap:{{#show:{{PAGENAME}}|?site|link=none}}|,|xx|[[{{name|xx}}]] {{!}} {{#ask:[[Category:Project]][[Site::xx]][[status::Open]]
 
|?start date
Active TAC @ {{#if:{{{site|}}}|@ {{#show:{{#explode:{{{site|}}}|,|0}}|?name}}}}
|?status
<br>[[start date::issue date::{{#ask:[[Project::TAC:{{{TAC id|}}}]]
|?title
|mainlabel=-|?Issue date=|sort=Issue date|order=ascending|limit=1|searchlabel=
|?topic
}}]]&nbsp;-&nbsp;[[end date::{{#ask:[[Project::TAC:{{{TAC id|}}}]]
|sort=start date
|mainlabel=-|?Issue date=|sort=Issue date|order=descending|limit=1|searchlabel=
|order=descending
}}]]
|limit=0
 
|searchlabel=[Open ({{#ask:[[Category:Project]][[Site::xx]][[status::Open]]|limit=200|format=count}})]
}} {{!}} {{#ask:[[Category:Project]][[Site::xx]][[status::Closed]]
|?start date
|?status
|?title
|?topic
|sort=start date
|order=descending
|limit=0
|searchlabel=[Closed ({{#ask:[[Category:Project]][[Site::xx]][[status::Closed]]|limit=200|format=count}})]
}}
|<br> }}
|group3 =  
|group3 =  
|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 = {{#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]}}


|list4style = align:left;
|list4style = align:left;
Line 37: Line 57:
{{#ask:[[Project::TAC:{{{TAC id|}}}]]
{{#ask:[[Project::TAC:{{{TAC id|}}}]]
|?Issue date=
|?Issue date=
|?From
|?title
|?title
|?name
|?Project stage
|format=table
|format=table
|sort = Issue date
|sort = Issue date
Line 48: Line 69:
|list5 =
|list5 =


}}</includeonly><includeonly>[[Category:TAC]]</includeonly>
}}{{#if:{{{site|}}}|{{#arraymap:{{{site|}}}|,|xx|[[site::xx| ]]| }} }}</includeonly><includeonly>[[Category:TAC]]</includeonly>

Latest revision as of 13:19, 23 February 2021

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