Template:Phab: Difference between revisions
Jump to navigation
Jump to search
>Tomoneill (adjust link (]] to ])) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{art|}}}{{{article|}}}|[[Wikipedia:Phabricator|Phabricator]''':''' }}{{#ifeq:{{padleft:|1|{{{1|T}}}}}|T | {{#if:{{{art|}}}{{{article|}}}|[[Wikipedia:Phabricator|Phabricator]]''':''' }}{{#ifeq:{{padleft:|1|{{{1|T}}}}}|T | ||
|[ | |[[Phabricator:{{{1|}}}|{{{1|Phabricator}}}]]{{#if:{{{label|}}}{{{label1|}}}| ({{{label|{{{label1}}}}}})}} | ||
|[ | |[[Phabricator:T{{{1}}}|T{{{1}}}]]}}<!-- | ||
Extra fields | Extra fields | ||
-->{{#if:{{{2|}}}|{{nbsp}}• [ | -->{{#if:{{{2|}}}|{{nbsp}}• [[Phabricator:T{{{2}}}|T{{{2}}}]]}}{{#if:{{{label2|}}}| ({{{label2}}})}}<!-- | ||
-->{{#if:{{{3|}}}|{{nbsp}}• [ | -->{{#if:{{{3|}}}|{{nbsp}}• [[Phabricator:T{{{3}}}|T{{{3}}}]]}}{{#if:{{{label3|}}}| ({{{label3}}})}}<!-- | ||
-->{{#if:{{{4|}}}|{{nbsp}}• [ | -->{{#if:{{{4|}}}|{{nbsp}}• [[Phabricator:T{{{4}}}|T{{{4}}}]]}}{{#if:{{{label4|}}}| ({{{label4}}})}}<!-- | ||
-->{{#if:{{{5|}}}|{{nbsp}}• [ | -->{{#if:{{{5|}}}|{{nbsp}}• [[Phabricator:T{{{5}}}|T{{{5}}}]]}}{{#if:{{{label5|}}}| ({{{label5}}})}}<!-- | ||
-->{{#if:{{{6|}}}|{{nbsp}}• [ | -->{{#if:{{{6|}}}|{{nbsp}}• [[Phabricator:T{{{6}}}|T{{{6}}}]]}}{{#if:{{{label6|}}}| ({{{label6}}})}}<!-- | ||
-->{{#if:{{{7|}}}|{{nbsp}}• [ | -->{{#if:{{{7|}}}|{{nbsp}}• [[Phabricator:T{{{7}}}|T{{{7}}}]]}}{{#if:{{{label7|}}}| ({{{label7}}})}}<!-- | ||
-->{{#if:{{{8|}}}|{{nbsp}}• [ | -->{{#if:{{{8|}}}|{{nbsp}}• [[Phabricator:T{{{8}}}|T{{{8}}}]]}}{{#if:{{{label8|}}}| ({{{label8}}})}}<!-- | ||
-->{{#if:{{{9|}}}|{{nbsp}}• [ | -->{{#if:{{{9|}}}|{{nbsp}}• [[Phabricator:T{{{9}}}|T{{{9}}}]]}}{{#if:{{{label9|}}}| ({{{label9}}})}}<!-- | ||
-->{{#if:{{{10|}}}|{{nbsp}}• [ | -->{{#if:{{{10|}}}|{{nbsp}}• [[Phabricator:T{{{10}}}|T{{{10}}}]]}}{{#if:{{{label10|}}}| ({{{label10}}})}}<!-- | ||
-->{{#if:{{{11|}}}|{{nbsp}}• [ | -->{{#if:{{{11|}}}|{{nbsp}}• [[Phabricator:T{{{11}}}|T{{{11}}}]]}}{{#if:{{{label11|}}}| ({{{label11}}})}}<!-- | ||
-->{{#if:{{{12|}}}|{{nbsp}}• [ | -->{{#if:{{{12|}}}|{{nbsp}}• [[Phabricator:T{{{12}}}|T{{{12}}}]]}}{{#if:{{{label12|}}}| ({{{label12}}})}}<!-- | ||
-->{{#if:{{{13|}}}|{{nbsp}}• [ | -->{{#if:{{{13|}}}|{{nbsp}}• [[Phabricator:T{{{13}}}|T{{{13}}}]]}}{{#if:{{{label13|}}}| ({{{label13}}})}}<!-- | ||
-->{{#if:{{{14|}}}|{{nbsp}}• [ | -->{{#if:{{{14|}}}|{{nbsp}}• [[Phabricator:T{{{14}}}|T{{{14}}}]]}}{{#if:{{{label14|}}}| ({{{label14}}})}}<!-- | ||
-->{{#if:{{{15|}}}|{{nbsp}}• [ | -->{{#if:{{{15|}}}|{{nbsp}}• [[Phabricator:T{{{15}}}|T{{{15}}}]]}}{{#if:{{{label15|}}}| ({{{label15}}})}}<!-- | ||
-->{{#if:{{{16|}}}|{{nbsp}}• [ | -->{{#if:{{{16|}}}|{{nbsp}}• [[Phabricator:T{{{16}}}|T{{{16}}}]]}}{{#if:{{{label16|}}}| ({{{label16}}})}}<!-- | ||
-->{{#if:{{{17|}}}|{{nbsp}}• [ | -->{{#if:{{{17|}}}|{{nbsp}}• [[Phabricator:T{{{17}}}|T{{{17}}}]]}}{{#if:{{{label17|}}}| ({{{label17}}})}}<!-- | ||
-->{{#if:{{{18|}}}|{{nbsp}}• [ | -->{{#if:{{{18|}}}|{{nbsp}}• [[Phabricator:T{{{18}}}|T{{{18}}}]]}}{{#if:{{{label18|}}}| ({{{label18}}})}}<!-- | ||
-->{{#if:{{{19|}}}|{{nbsp}}• [ | -->{{#if:{{{19|}}}|{{nbsp}}• [[Phabricator:T{{{19}}}|T{{{19}}}]]}}{{#if:{{{label19|}}}| ({{{label19}}})}}<!-- | ||
-->{{#if:{{{20|}}}|{{nbsp}}• [ | -->{{#if:{{{20|}}}|{{nbsp}}• [[Phabricator:T{{{20}}}|T{{{20}}}]]}}{{#if:{{{label20|}}}| ({{{label20}}})}}<!-- | ||
-->{{#if:{{{label|}}}{{{label1|}}}| ({{{label|{{{label1}}}}}})}}<noinclude> | -->{{#if:{{{label|}}}{{{label1|}}}| ({{{label|{{{label1}}}}}})}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 08:00, 13 September 2024
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
A template that links to a specific Phabricator task.
Usage
{{Phab|T8452}}
returns: T8452{{Phab|8452}}
returns: T8452 (still supported but not encouraged){{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. See a monthly parameter usage report for Template:Phab in articles based on its TemplateData.
TemplateData for Phab
Shorthand for [[phabricator:Tnumber|Tnumber]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
task | 1 | Task number or Tnumber | String | required |