Open main menu

Difference between revisions of "Template:Tracked"

m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div role="note" style="float:{{{float|right}}}; clear:{{{float|right}}}; border:1px solid #999; {{border-radius|2px}} background-color:#eee; font-size:85%; text-align:center; padding:0.5em; margin-left:1em; margin-bottom:1em; width:12em" class="plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in {{#ifeq: {{padleft:|1| {{{1|T}}} }} | T
+
<div role="note" style="float:{{{float|right}}}; clear:{{{float|right}}}; border:1px solid #72777d; border-radius: 2px; background-color:#eaecf0; font-size:85%; text-align:center; padding:0.5em; margin-left:1em; margin-bottom:1em; width:12em" class="plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in [[phabricator:|Phabricator]]<br />{{#if:{{{1|}}}|'''[[phabricator:{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}|<span class="trakfab-{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}"> Task {{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}</span>]]'''}}
|[[phabricator:|Phabricator]]<br />{{#if:{{{1|}}}|'''[[phabricator:{{{1}}}|<span class="trakfab-{{{1}}}">Task {{{1}}}</span>]]'''}}
 
 
{{#switch:{{lc:{{{2|}}}}}
 
{{#switch:{{lc:{{{2|}}}}}
   |resolved=<span style="color:green; font-weight:bold; text-transform:uppercase">Resolved</span>
+
   |resolved|fixed=<span style="color:green; font-weight:bold; text-transform:uppercase">Resolved</span>
 
   |invalid=<span style="color:black; font-weight:bold; text-transform:uppercase">Invalid</span>
 
   |invalid=<span style="color:black; font-weight:bold; text-transform:uppercase">Invalid</span>
 
   |duplicate=<span style="color:black; font-weight:bold; text-transform:uppercase">Duplicate</span>
 
   |duplicate=<span style="color:black; font-weight:bold; text-transform:uppercase">Duplicate</span>
   |declined=<span style="color:black; font-weight:bold; text-transform:uppercase">Declined</span>
+
   |declined|wontfix=<span style="color:black; font-weight:bold; text-transform:uppercase">Declined</span>
   |stalled=<span style="color:black; font-weight:bold; text-transform:uppercase">Stalled</span>
+
   |stalled|later=<span style="color:black; font-weight:bold; text-transform:uppercase">Stalled</span>
 
   |open=<span style="color:black; font-weight:bold; text-transform:uppercase">Open</span>
 
   |open=<span style="color:black; font-weight:bold; text-transform:uppercase">Open</span>
}}
 
|[//bugzilla.wikimedia.org/ Bugzilla]<br />{{#if:{{{1|}}}|'''[[bugzilla:{{{1}}}|<span class="trakbug-{{{1}}}">Bug {{{1}}}</span>]]'''}}
 
{{#switch:{{lc:{{{2|}}}}}
 
  |fixed=<span style="color:green; font-weight:bold; text-transform:uppercase">Resolved fixed</span>
 
  |wontfix=<span style="color:black; font-weight:bold; text-transform:uppercase">Resolved "won't fix"</span>
 
  |invalid=<span style="color:black; font-weight:bold; text-transform:uppercase">Resolved invalid</span>
 
  |later=<span style="color:black; font-weight:bold; text-transform:uppercase">Resolved "later"</span>
 
  |duplicate=<span style="color:black; font-weight:bold; text-transform:uppercase">Resolved duplicate</span>
 
  |critical=<span style="color:red; font-weight:bold; font-size:1.5em; text-transform:uppercase">Critical</span>
 
}}
 
 
}}</div><noinclude>
 
}}</div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:42, 14 March 2020