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
Line 4: Line 4:
|Column={{{column|}}}|+sep=$
|Column={{{column|}}}|+sep=$
}}
}}
{{#set:CPT Column={{#ifeq:{{{name|}}}|Core Platform Team|{{{column|}}}}}}}
{{#set:CPT Column={{#ifeq:{{{name|}}}|CPT Initiatives|{{{column|}}}}}}}
{{#set:CPT Workboards Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Core Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}} {{{column|}}}|{{{column|}}}}}}}}}
{{#set:CPT Workboards Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Core Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}} {{{column|}}}|{{{column|}}}}}}}}}
{{#set:CPT Backlog Column={{#ifeq:{{{name|}}}|Core Platform Team Legacy|{{{column|}}}}}}}
{{#set:CPT Backlog Column={{#ifeq:{{{name|}}}|Core Platform Team Legacy|{{{column|}}}}}}}
</includeonly>
</includeonly>

Revision as of 16:33, 26 July 2019