Template:Pr: Difference between revisions

Template page
(Improve the explanation and also gave an example)
(Template now displays as a plainlink)
Line 1: Line 1:
<includeonly>[https://github.com/RPCS3/rpcs3/pull/{{{1}}} PR {{{1}}}]</includeonly><noinclude>This template is used to link a pull request (PR) from the RPCS3 Github. The syntax to be used is <code><nowiki>{{pr|#}}</nowiki></code> where <code><nowiki>#</nowiki></code> is the PR number as shown in Github. Do not add any unnecessary zeros to the start of the number.
<includeonly><span class="plainlinks">[https://github.com/RPCS3/rpcs3/pull/{{{1}}} PR {{{1}}}]</span></includeonly><noinclude>This template is used to link a pull request (PR) from the RPCS3 Github. The syntax to be used is <code><nowiki>{{pr|#}}</nowiki></code> where <code><nowiki>#</nowiki></code> is the PR number as shown in Github. Do not add any unnecessary zeros to the start of the number.


For example, using <code><nowiki>{{pr|3333}}</nowiki></code> gives {{pr|3333}}.
For example, using <code><nowiki>{{pr|3333}}</nowiki></code> gives {{pr|3333}}.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 22:19, 3 October 2018

This template is used to link a pull request (PR) from the RPCS3 Github. The syntax to be used is {{pr|#}} where # is the PR number as shown in Github. Do not add any unnecessary zeros to the start of the number.

For example, using {{pr|3333}} gives PR 3333.