「テンプレート:Phabricator」の版間の差分
提供: ひつじ小屋別館2代目
(→See also: add 2) |
細 (1版 をインポートしました) |
||
(3人の利用者による、間の4版が非表示) | |||
1行目: | 1行目: | ||
− | {{#if: {{{1|}}}|[[phabricator:{{{1}}}{{!}} | + | <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 | + | "label": { |
+ | "en": "Task ID", | ||
+ | "pl": "ID zadania" | ||
+ | }, | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
− | "description": "Task | + | "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> | ||
== Usage == | == Usage == | ||
− | <pre>Example {{ | + | <pre>Example {{phab|T1234}} link.</pre> |
− | Example {{ | + | Example {{phab|T1234}} link. |
== See also == | == See also == | ||
* [[Template:Tracked]] - right-floating box for specific tasks | * [[Template:Tracked]] - right-floating box for specific tasks |
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