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
m (Text replacement - "CPT Initiative" to "PET Initiative")
m (Text replacement - "CPT Column" to "PET Column")
Line 7: Line 7:
}}
}}
{{#set:PET Initiative={{#ifeq:{{{name|}}}|Platform Team Initiatives|{{{column|}}}}}}}
{{#set:PET Initiative={{#ifeq:{{{name|}}}|Platform Team Initiatives|{{{column|}}}}}}}
{{#set:CPT Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
{{#set:PET Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
</includeonly>
</includeonly>

Revision as of 21:44, 29 July 2020