Jump to content

Template:Tracked: Difference between revisions

From cernipedia
{{{2}}} undefined
Change trakbug id to class; fails on duplicate bug numbers.
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 class="trakbug-{{{1}}}">Bug {{{1}}}</span>]]'''}}
{{#switch:{{lc:{{{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>

Revision as of 10:28, 29 September 2013