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 - "Core Platform Team Workboards" to "Platform Team Workboards")
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
|Column Entry Date={{#if:{{{entryDate|}}}|{{#timel:Y/m/d|@{{{entryDate|}}}}}}}|+sep=$
|Column Entry Date={{#if:{{{entryDate|}}}|{{#timel:Y/m/d|@{{{entryDate|}}}}}}}|+sep=$
}}
}}
{{#set:CPT Initiative={{#ifeq:{{{name|}}}|CPT 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|24}}|Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 26|{{#sub:{{{name|}}}|26|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
</includeonly>
</includeonly>

Latest revision as of 09:01, 30 July 2020