Difference between revisions of "Template:Tracked"

From blackwiki
Jump to navigation Jump to search
test>Technical 13
(lc: for switch... (Bugzilla uses all caps, our list is all lower... This will make the template not care which is used.)
m (22 revisions imported)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly><div style="float: {{{float|right}}}; clear: {{{float|right}}}; border:1px solid #999; {{border-radius|0.5em}} background-color:#eee; {{linear-gradient|top|#ddd,#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 [//bugzilla.wikimedia.org/ Bugzilla]<br />{{#if:{{{1|}}}|'''[[bugzilla:{{{1}}}|<span id="trakbug-{{{1}}}">Bug {{{1}}}</span>]]'''}}
+
<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>]]'''}}
{{#switch:{{lc:{{{2}}}}}
+
{{#switch:{{lc:{{{2|}}}}}
|fixed=<span style="color: green; font-weight: bold; text-transform: uppercase;">Resolved fixed</span>
+
  |resolved|fixed=<span style="color:green; font-weight:bold; text-transform:uppercase">Resolved</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">Invalid</span>
|invalid=<span style="color: black; font-weight: bold; text-transform: uppercase;">Resolved invalid</span>
+
  |duplicate=<span style="color:black; font-weight:bold; text-transform:uppercase">Duplicate</span>
|later=<span style="color: black; font-weight: bold; text-transform: uppercase;">Resolved "later"</span>
+
  |declined|wontfix=<span style="color:black; font-weight:bold; text-transform:uppercase">Declined</span>
|critical=<span style="color: red; font-weight: bold; font-size: 1.5em; text-transform: uppercase;">Critical</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>
</div></includeonly><noinclude>
+
}}</div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:21, 4 September 2020

Template documentation[create]