This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Template:Phabricator Project"

From cpt
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 3: Line 3:
|Project={{{name|}}}|+sep=$
|Project={{{name|}}}|+sep=$
|Column={{{column|}}}|+sep=$
|Column={{{column|}}}|+sep=$
|Column Entry Timestamp={{{entryDate|}}}|+sep=$
|Column Entry Date={{#if:{{{entryDate|}}}|{{#timel:Y/m/d|@{{{entryDate|}}}}}}}|+sep=$
}}
}}
{{#set:CPT Column={{#ifeq:{{{name|}}}|Core Platform Team|{{{column|}}}}}}}
{{#set:PET Initiative={{#ifeq:{{{name|}}}|Platform Team Initiatives|{{{column|}}}}}}}
{{#set:CPT Kanban Column={{#ifeq::{{#sub:{{{name|}}}|0|25}}|Core Platform Team Kanban|{{#ifexpr:{{#len:{{{name|}}}}} > 27|{{#sub:{{{name|}}}|28|-1}} {{{column|}}}|{{{column|}}}}}}}}}
{{#set:PET Column={{#ifeq:{{#sub:{{{name|}}}|0|24}}|Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 26|{{#sub:{{{name|}}}|26|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
{{#set:CPT Backlog Column={{#ifeq:{{{name|}}}|Core Platform Team Backlog|{{{column|}}}}}}}
 
 
Hi:
 
{{{name|}}}
 
{{{column|}}}
 
{{#ifeq::{{#sub:{{{name|}}}|0|25}}|Core Platform Team Kanban|{{#ifexpr:{{#len:{{{name|}}}}} > 27|{{#sub:{{{name|}}}|28|-1}} {{{column|}}}|{{{column|}}}}}}}
</includeonly>
</includeonly>

Latest revision as of 09:01, 30 July 2020