Template:Tracked/doc
TNT | This template should use Module:TNT for localisation. |
This template is intended to be used on feedback pages and talk pages for software deployments. It floats right-aligned next to whichever content it precedes. Imagine we see a comment like the following:
Your software is broken. It doesn't even work on Windows 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Now let's say we want to note that there's a task on Phabricator for this. We'll add the following code: {{tracked|T123}}
(where T123 is the identifier of the task).
Sample output:
<translate> Tracked in [[<tvar name=1>phabricator:</tvar>|Phabricator]]</translate>
<translate> Task <tvar name=1>T123</tvar></translate> Your software is broken. It doesn't even work on Windows 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
We can leave it at that. If we'd like to note the fact that the task's been resolved, we can note its status, via {{tracked|T123|resolved}}
. In addition to resolved
, we support invalid
, duplicate
, declined
, stalled
and open
. Example with the resolved
keyword:
Sample output:
<translate> Tracked in [[<tvar name=1>phabricator:</tvar>|Phabricator]]</translate>
<translate> Task <tvar name=1>T123</tvar></translate> <translate> Resolved</translate> Your software is broken. It doesn't even work on Windows 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Of course, feel free to avoid using this template if tracking a comment is not useful.
Your software is broken. It doesn't even work on Windows 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST)
|
See also
- Gadget-BugStatusUpdate.js can be enabled in the Gadget preferences
- Template:Phabricator - similar to
[[phab:n]]
- Template:PhabT - similar to
[[phab:n]]
but without the "T" - Template:Ptag - page-top indicators for overall #projects and #tags
<templatedata> { "description": { "en": "Link box to a bug report", "fr": "Boîte avec lien vers un rapport de bogue" }, "params": { "1": { "type": "string", "label": { "en": "Bug ID", "fr": "ID du bogue" }, "description": { "en": "Phabricator task number or old Bugzilla number", "fr": "Numéro de tâche Phabricator ou ancien numéro Bugzilla" }, "required": true, "example": { "en": "T137443", "fr": "T137443" } }, "2": { "type": "string", "label": { "en": "Status", "fr": "Statut" }, "example": { "en": "resolved, stalled, invalid, ...", "fr": "resolved" }, "description": { "fr": "resolved invalid duplicate stalled open ..." }, "suggestedvalues": [ "resolved", "stalled", "invalid", "duplicate", "open" ] }, "float": { "type": "string", "default": { "en": "right", "fr": "right" }, "label": { "en": "CSS float position", "fr": "CSS position flottante" }, "example": "right, left, none", "description": { "fr": "right, left, none, both, inherit" }, "suggestedvalues": [ "left", "none", "right" ] } }, "paramOrder": [ "1", "2", "float" ] } </templatedata>