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:Phab Table Row"

From cpt
No edit summary
No edit summary
 
Line 5: Line 5:
| {{#if:{{{3|}}}|{{Priority Link|{{{3|}}}}}}}
| {{#if:{{{3|}}}|{{Priority Link|{{{3|}}}}}}}
| {{#if:{{{4|}}}|{{Author Link|{{{4}}}}}}}
| {{#if:{{{4|}}}|{{Author Link|{{{4}}}}}}}
| {{#if:{{{5|}}}|{{Owner Link|{{{5}}}}}}}
| {{#if:{{{5|}}}|{{Assignee Link|{{{5}}}}}}}
| {{#if:{{{7|}}}|{{#ask:[[-Has subobject::{{{1|}}}]][[Project::+]]|?Project|?Column|mainlabel=-|format=ul|template=Project Link}}
| {{#if:{{{7|}}}|{{#ask:[[-Has subobject::{{{1|}}}]][[Project::+]]|?Project|?Column|mainlabel=-|format=ul|template=Project Link}}
| {{#if:{{{8|}}}|<ul>{{#arraymap:{{#ask:[[{{{1|}}}]]|?Subtask|headers=hide|mainlabel=-|valuesep=;}}|;|@@@@|<li>@@@@</li>|}}</ul>
| {{#if:{{{8|}}}|<ul>{{#arraymap:{{#ask:[[{{{1|}}}]]|?Subtask|headers=hide|mainlabel=-|valuesep=;}}|;|@@@@|<li>@@@@</li>|}}</ul>

Latest revision as of 09:53, 19 March 2020