Difference between revisions of "Template:Ptag"

From WPRDC Wiki
Jump to navigation Jump to search
>Mattflaschen-WMF
m (Reverted edits by 108.173.191.133 (talk) to last revision by Shirayuki)
>Krinkle
 
(19 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<languages/>
</noinclude><includeonly>{{#switch:<translate></translate>
</noinclude><includeonly><!--
| =
--><indicator name="phabricator-project">{{Badge|content=<translate><!--T:1--> [[<tvar|1>Special:MyLanguage/Phabricator</>|Issue tracker]]:</translate> [[phab:tag/{{lc:{{{1}}}}}/|'''#{{{1}}}''']]
<indicator name="phabricator-project">{{Badge|align=right|bg-color=#dee7f8|border=|style=font-size: 85%
}}</indicator><!--
|content=<translate><!--T:1--> [[<tvar|1>Special:MyLanguage/Phabricator</>|Phabricator]] project:</translate> [[phab:tag/{{lc:{{{1}}}}}/|'''#{{{1}}}''']]
--></includeonly><noinclude>
}}</indicator>
{{Documentation|content=
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Ptag|noshift=1}}
}}</includeonly><noinclude>
{{ {{TNTN|Documentation}} |content=


This page sets a [[Help:Page status indicators|page status indicator]] with the name "phabricator-project" and the specified project name (first parameter).
<translate>
<!--T:2-->
This template adds a {{<tvar|1>ll|Help:Page status indicators</>|page status indicator}} linking to the project's issue tracker (for example, a Phabricator workboard).


Example "Foo" used on this page.
<!--T:3-->
Example "<tvar|1>Foo</>" used on this page.
</translate>
:<nowiki>{{ptag|foo}}</nowiki>
:<nowiki>{{ptag|foo}}</nowiki>
{{ptag|foo}}
{{ptag|foo}}


== See also ==
<templatedata>
{
"params": {
"1": {}
},
"description": "Add page status indicator with a badge linking to a Phabricator project.",
"format": "inline"
}
</templatedata>


* [[Template:Tracked]] - right-floating box for specific tasks
<translate>
* [[Template:Phabricator]] - similar to <code><nowiki>[[</nowiki>phab:T''nnn'']]</code>
== See also == <!--T:4-->
* [[Template:PhabT]] - similar to <code><nowiki>[[</nowiki>phab:T''nnn'']]</code> but without requiring the "T"
</translate>
* [[Template:Ptag2]] - similar to Ptag but displays an inline badge instead of a page-level badge
* {{ll|Template:Tracked}} - <translate><!--T:5--> right-floating box for specific tasks</translate>
* {{ll|Template:Phabricator}} - <translate><!--T:6--> similar to <tvar|1><code><nowiki>[[phab:T</nowiki>''nnn''<nowiki>]]</nowiki></code></></translate>
* {{ll|Template:PhabT}} - <translate><!--T:7--> similar to <tvar|1><code><nowiki>[[phab:T</nowiki>''nnn''<nowiki>]]</nowiki></code></> but without requiring the "<tvar|2>T</>"</translate>
* {{ll|Template:Ptag2}} - <translate><!--T:8--> similar to <tvar|1>Ptag</> but displays a badge instead of a page-level badge</translate>
* {{ll|Template:Phabricator inline tag}} - <translate><!--T:9--> similar to <tvar|1>Ptag2</> but displays the link inline</translate>


}}
}}
[[Category:External link templates{{translation}}]]
[[Category:External link templates{{#translation:}}]]
</noinclude>
</noinclude>

Latest revision as of 20:17, 25 August 2021

<languages/>

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] [[Category:External link templates{{#translation:}}]]