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 3: Line 3:
|Project={{{name|}}}|+sep=$
|Project={{{name|}}}|+sep=$
|Column={{{column|}}}|+sep=$
|Column={{{column|}}}|+sep=$
|Column Entry Timestamp={{{entryDate|}}}|+sep=$
|Column Entry Date={{#if:{{{dateCreated|}}}|{{#timel:Y/m/d h:i:s A|@{{{entryDate|}}}}}}}|+sep=$
}}
}}
{{#set:CPT Initiative={{#ifeq:{{{name|}}}|CPT Initiatives|{{{column|}}}}}}}
{{#set:CPT Initiative={{#ifeq:{{{name|}}}|CPT Initiatives|{{{column|}}}}}}}
{{#set:CPT Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Core Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
{{#set:CPT Column={{#ifeq:{{#sub:{{{name|}}}|0|29}}|Core Platform Team Workboards|{{#ifexpr:{{#len:{{{name|}}}}} > 31|{{#sub:{{{name|}}}|31|-1}}: {{{column|}}}|{{{column|}}}}}}}}}
</includeonly>
</includeonly>

Revision as of 15:43, 27 November 2019