Template:Phab/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Be..anyone →See also: +template data |
m 17 revisions imported |
||
| (9 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
A template that links to a specific [[mw:Phabricator|Phabricator]] task. | |||
== Usage == | == Usage == | ||
*{{tlx|Phab|T8452}} returns {{Phab|T8452}} | *{{tlx|Phab|T8452}} returns: {{Phab|T8452}} | ||
*{{tlx|Phab|8452}} returns {{Phab|T8452}} | *{{tlx|Phab|8452}} returns: {{Phab|T8452}} | ||
*{{tlx|Phab}} just returns: {{Phab}} | |||
*{{tlx|Phab|art{{=}}y|T1234}} or {{tlx|Phab|article{{=}}yes|T1234}} returns: {{Phab|art=y|T1234}} | |||
== See also == | == See also == | ||
* {{tl|Tracked}}, float-right box | * {{tl|Tracked}}, float-right box | ||
== TemplateData == | |||
{{TemplateData header}} | |||
<templatedata> | <templatedata> | ||
{ | { "description": "Shorthand for [[phabricator:Tnumber|Tnumber]]", | ||
"params": { | "params": | ||
{ "1": | |||
{ "label": "task", | |||
"description": "Task number | "description": "Task number or Tnumber", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
} } } | |||
} | |||
</templatedata> | </templatedata> | ||
<includeonly>{{ | <includeonly>{{Sandbox other|| | ||
[[Category:Interwiki link templates]] | |||
}}</includeonly> | |||
Latest revision as of 04:50, 3 September 2020
| This is a documentation subpage for Template:Phab. It may contain usage information, categories and other content that is not part of the original template page. |
A template that links to a specific Phabricator task.
Usage
{{Phab|T8452}}returns: T8452{{Phab|8452}}returns: T8452{{Phab}}just returns: Phabricator{{Phab|art=y|T1234}}or{{Phab|article=yes|T1234}}returns: Phabricator: T1234
See also
- {{Tracked}}, float-right box
TemplateData
This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Phab
TemplateData for Phab
Shorthand for [[phabricator:Tnumber|Tnumber]]
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| task | 1 | Task number or Tnumber | String | required |