Difference between revisions of "Template:Tracked"
Jump to navigation
Jump to search
test>Edokter (Update from sandbox) |
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.) |
||
| 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>]]'''}} | <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>]]'''}} | ||
| − | {{#switch:{{{2}}} | + | {{#switch:{{lc:{{{2}}}}} |
|fixed=<span style="color: green; font-weight: bold; text-transform: uppercase;">Resolved fixed</span> | |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> | |wontfix=<span style="color: black; font-weight: bold; text-transform: uppercase;">Resolved "won't fix"</span> | ||