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 5: Line 5:
}}
}}
{{#set:CPT Column={{#ifeq:{{{name|}}}|Core Platform Team|{{{column|}}}}}}}
{{#set:CPT Column={{#ifeq:{{{name|}}}|Core Platform Team|{{{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:CPT Kanban Column={{#ifeq:{{#sub:{{{name|}}}|0|25}}|Core Platform Team Kanban|{{#ifexpr:{{#len:{{{name|}}}}} > 27|{{#sub:{{{name|}}}|27|-1}} {{{column|}}}|{{{column|}}}}}}}}}
{{#set:CPT Backlog Column={{#ifeq:{{{name|}}}|Core Platform Team Backlog|{{{column|}}}}}}}
{{#set:CPT Backlog Column={{#ifeq:{{{name|}}}|Core Platform Team Backlog|{{{column|}}}}}}}
Hi:
|{{{name|}}}|
|{{#sub:{{{name|}}}|0|25}}|
{{{column|}}}
{{#ifeq:{{#sub:{{{name|}}}|0|25}}|Core Platform Team Kanban|{{#ifexpr:{{#len:{{{name|}}}}} > 27|{{#sub:{{{name|}}}|27|-1}} {{{column|}}}|{{{column|}}}}}}}
</includeonly>
</includeonly>

Revision as of 12:22, 10 June 2019