Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tracked: Difference between revisions

Template page
add style param for use in templates
autotranslate
Line 1: Line 1:
<div role="note" style="float:{{{float|right}}}; clear:{{{float|right}}}; border:1px solid #999; border-radius:0.5em; background-color:#eee; background-image:linear-gradient(to bottom, #ddd,#eee); font-size:85%; text-align:center; padding:0.5em; margin-left:1em; margin-bottom:1em; width:12em; color: black; {{{style|}}}" class="plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in {{#ifeq: {{padleft:|1| {{{1|T}}} }} | T
{{autotranslate
|[[mw:Special:MyLanguage/Phabricator|Phabricator]]<br />{{#if:{{{1|}}}|[[phabricator:{{{1}}}|<b class="trakfab-{{{1}}}">Task {{{1}}}</b>]]}}
|base=Tracked/i18n
<span style="font-weight: bold;text-transform: uppercase;">{{#switch:{{lc:{{{2|}}}}}
|1={{#ifeq: {{padleft:|1| {{uc:{{{1|}}} }} }} | T  
  |resolved=<span style="color:green;">Resolved</span>
  | {{uc:{{{1|}}}}}<!-- Phab -->
  |invalid=Invalid
  | T{{#expr:{{{1|}}} + 2000 }}<!-- Bugzilla -->
  |duplicate=Duplicate
}}
  |declined=Declined
|2={{{2|}}}
  |stalled=Stalled
|float={{{float|}}}
  |open=Open
|style={{{style|}}}
}}</span>
}}<noinclude>
|[[mw:Special:MyLanguage/Bugzilla|Bugzilla]]<br />{{#if:{{{1|}}}|[[bugzilla:{{{1}}}|<b class="trakbug-{{{1}}}">Bug {{{1}}}</b>]]}}
<span style="font-weight: bold; text-transform: uppercase;">{{#switch:{{lc:{{{2|}}}}}
  |fixed=<span style="color: green;">Resolved fixed</span>
  |wontfix=Resolved "won't fix"
  |invalid=Resolved invalid
  |later=Resolved "later"
  |duplicate=Resolved duplicate
  |critical=<span style="color: red; font-size: 1.5em;">Critical</span>
}}</span>
}}</div><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.