「テンプレート:Phabricator」の版間の差分
提供: ひつじ小屋別館2代目
細 (lowercase "task" (consistent with {{bug}} and {{phabT}}, use shorter {{phab}} in example, it's a task ID not a number.) |
細 (1版 をインポートしました) |
||
(2人の利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
− | {{#if: {{{1|}}}|[[phabricator:{{{1}}}{{!}}task {{{1}}}]]|<span class="error">Phabricator task number not specified</span>}}<noinclude> | + | <includeonly>{{#if: {{{1|}}}|[[phabricator:{{{1}}}{{!}}task {{{1}}}]]|<span class="error">Phabricator task number not specified</span>}}</includeonly><noinclude> |
<templatedata> | <templatedata> | ||
{ | { | ||
− | "description": "Link to a Phabricator task (e.g. T1234)", | + | "description": { |
+ | "en": "Link to a Phabricator task (e.g. T1234)", | ||
+ | "pl": "Link do zadania w Phabricator (np. do T1234)" | ||
+ | }, | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
− | "label": "Task ID", | + | "label": { |
+ | "en": "Task ID", | ||
+ | "pl": "ID zadania" | ||
+ | }, | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
− | "description": "Task ID (TNNNNN) in Wikimedia's Phabricator" | + | "description": { |
+ | "en": "Task ID (TNNNNN) in Wikimedia's Phabricator", | ||
+ | "pl": "ID zadania (w formacie TNNNNN) w Phabricator Wikimedii" | ||
+ | }, | ||
+ | "example": { | ||
+ | "pl": "T1234", | ||
+ | "en": "T1234" | ||
+ | } | ||
} | } | ||
− | } | + | }, |
+ | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> |
2016年7月24日 (日) 00:26時点における最新版
Link to a Phabricator task (e.g. T1234)
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
Task ID | 1 | Task ID (TNNNNN) in Wikimedia's Phabricator
| string | 必須 |
Usage[編集]
Example {{phab|T1234}} link.
Example テンプレート:Phab link.
See also[編集]
- Template:Tracked - right-floating box for specific tasks
- Template:PhabT - similar to
[[phab:n]]
but without the "T" - Template:Ptag - page-top indicators for overall #projects and #tags