Template:Phabricator Task: Difference between revisions

From mcr
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 5: Line 5:
|-
|-
! style="text-align:left;" | Status
! style="text-align:left;" | Status
| style="text-align:left;" | {{{status|}}}
| style="text-align:left;" | {{Status Link|{{{status|}}}}}
|-
|-
! style="text-align:left;" | Priority
! style="text-align:left;" | Priority
| style="text-align:left;" | {{#switch:{{{color|}}}
| style="text-align:left;" | {{Priority Link|{{{color|}}}}}
|violet=Needs Triage
|indigo=Unbreak Now!
|red=High
|orange=Normal
|yellow=Low
|sky=Lowest
|Other
}} ({{{color|}}})
|-
|-
! style="text-align:left;" | Author
! style="text-align:left;" | Author
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?Author}}
| style="text-align:left;" | {{Author Link|{{#show:{{FULLPAGENAME}}|?Author}}}}
|-
|-
! style="text-align:left;" | Owner
! style="text-align:left;" | Owner
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?Owner}}
| style="text-align:left;" | {{Owner Link|{{#show:{{FULLPAGENAME}}|?Owner}}}}
|-
|-
! style="text-align:left;" | Projects
! style="text-align:left;" | Projects
| style="text-align:left;" | <ul>{{#arraymap:{{#show:{{FULLPAGENAME}}|?Project}}|,|@@@@|<li>@@@@</li>|}}</ul>
| style="text-align:left;" | <ul>{{#arraymap:{{#show:{{FULLPAGENAME}}|?Project-Column}}|,|@@@@|<li>{{Project Link|{{#replace:@@@@|=|&#61;}}}}</li>|}}</ul>
|-
|-
! style="text-align:left;" | Subtasks
! style="text-align:left;" | Subtasks
Line 39: Line 31:
url=https://gerrit.wikimedia.org/r/changes/?q=bug:{{PAGENAME}}
url=https://gerrit.wikimedia.org/r/changes/?q=bug:{{PAGENAME}}
|format=JSON
|format=JSON
|data=number=_number,subject=subject,status=status,owner=owner,created=created,updated=updated
|data=number=_number,subject=subject,status=status,owner=owner,created=created,updated=updated,project=project
|json offset=5
|json offset=5
}}{{#display_external_table:
}}{{#display_external_table:
Line 45: Line 37:
|intro template=Gerrit Table Intro
|intro template=Gerrit Table Intro
|outro template=Table Outro
|outro template=Table Outro
|data=number=number,subject=subject,status=status,owner=owner,created=created,updated=updated
|data=number=number,subject=subject,status=status,owner=owner,created=created,updated=updated,project=project
}}
}}
<div style="display:none;">
<div style="display:none;">

Latest revision as of 15:35, 13 October 2018