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
cpt>Ccicalese
No edit summary
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
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|?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>
| {{#ask:[[Subtask::{{{1}}}]]|format=ul}}
| {{#ask:[[Subtask::{{{1}}}]]|format=ul}}
|-
|-
</includeonly>
</includeonly>

Latest revision as of 09:53, 19 March 2020