Jump to content

Module:Phabricator/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Create module documentation
 
Now supports "yes" as well as "y" in art/article parameter
 
Line 1: Line 1:
This module has been created to replace the current template code in [[Template:Phabricator]]. It supports the template's documented behavior of any combination of including a "T" or not in the task ID, titling the link, or having a link to [[Wikipedia:Phabricator]].
This module has been created to replace the current template code in [[Template:Phabricator]]. It supports the template's documented behavior of any combination of including a "T" or not in the task ID, titling the link, or having a link to [[Wikipedia:Phabricator]].

The {{para|art}} and {{para|article}} params support both {{kbd|y}} and {{kbd|yes}} as a value.


* {{code|<nowiki>{{#invoke:Phabricator|task}}</nowiki>}}
* {{code|<nowiki>{{#invoke:Phabricator|task}}</nowiki>}}
Line 11: Line 13:
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|art=y}}</nowiki>}}
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|art=y}}</nowiki>}}
** {{#invoke:Phabricator|task|T1234|art=y}}
** {{#invoke:Phabricator|task|T1234|art=y}}
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|article=y}}</nowiki>}}
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|article=yes}}</nowiki>}}
** {{#invoke:Phabricator|task|T1234|article=y}}
** {{#invoke:Phabricator|task|T1234|article=yes}}
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|Lorem ipsum dolor sit amet|article=y}}</nowiki>}}
* {{code|<nowiki>{{#invoke:Phabricator|task|T1234|Lorem ipsum dolor sit amet|article=yes}}</nowiki>}}
** {{#invoke:Phabricator|task|T1234|Lorem ipsum dolor sit amet|article=y}}
** {{#invoke:Phabricator|task|T1234|Lorem ipsum dolor sit amet|article=yes}}


<noinclude>[[Category:Module documentation pages]]</noinclude>
<noinclude>[[Category:Module documentation pages]]</noinclude>

Latest revision as of 16:13, 18 March 2025

This module has been created to replace the current template code in Template:Phabricator. It supports the template's documented behavior of any combination of including a "T" or not in the task ID, titling the link, or having a link to Wikipedia:Phabricator.

The |art= and |article= params support both y and yes as a value.