Difference between revisions of "Template:Awaiting PR"
Jump to navigation
Jump to search
This Section or Article is Awaiting a PR
Pull Request: Supermatter Update
Draft Page: User:Sirryan2002
This content of this article may become outdated or is about to be outdated due to an ongoing Pull Request. If the pull request is merged or closed then this template should be removed and replace with Template:Needsrevision until the article is updated.
Sirryan2002 (talk | contribs) (added the ability to just put PR number) |
Sirryan2002 (talk | contribs) (adds hashtag for PR number) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> | <div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> | ||
<div style="background: #FF66DD; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center> | <div style="background: #FF66DD; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center> | ||
'''This Section or Article is Awaiting a PR<br>Pull Request:''' [{{#if:{{{PRNumber|}}}|https://github.com/ParadiseSS13/Paradise/pull/{{{PRNumber}}}|{{{PRlink|https://github.com/ParadiseSS13/Paradise}}}}} {{{PRname|Paradise Github}}}] {{#if: {{{DraftPage|}}}|'''<br>Draft Page:''' {{{DraftPage}}} <br>|}}</center></div><div style="padding: 1em; background: #FFAAFF"><center>This content of this article may become outdated or is about to be outdated due to an ongoing Pull Request. If the pull request is merged or closed then this template should be removed and replace with [[Template:Needsrevision]] until the article is updated.</center></div></div>[[Category:Awaiting PR]]</includeonly> | '''This Section or Article is Awaiting a PR<br>Pull Request:''' [{{#if:{{{PRNumber|}}}|https://github.com/ParadiseSS13/Paradise/pull/{{{PRNumber}}}|{{{PRlink|https://github.com/ParadiseSS13/Paradise}}}}} {{{PRname|Paradise Github}}}{{#if:{{{PRNumber|}}}| #{{{PRNumber}}}|}}]{{#if: {{{DraftPage|}}}|'''<br>Draft Page:''' {{{DraftPage}}} <br>|}}</center></div><div style="padding: 1em; background: #FFAAFF"><center>This content of this article may become outdated or is about to be outdated due to an ongoing Pull Request. If the pull request is merged or closed then this template should be removed and replace with [[Template:Needsrevision]] until the article is updated.</center></div></div>[[Category:Awaiting PR]]</includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation | {{Documentation |
Latest revision as of 10:17, 15 July 2021
Template:Awaiting PR - Documentation | [Edit] [History] |
Implementation
{{Awaiting PR | PRlink= | PRname= | DraftPage= }}
Usage
If there is a PR that has been approved or is about to be merged then this template should be applied directly above the section/article in which the PR will change content. This should not be used for every PR. Make sure to link directly to the github conversation page for the PR.
Variables
PRlink = The full external link to the PR in its raw form
PRname = The title of the PR on the PR's github page
DraftPage = The internal page on the wiki in which a draft has been started to replace the section this template is being applied. Namespace is only needed for non mainspace articles
Example
Awaiting PR | PRlink=https://github.com/ParadiseSS13/Paradise/pull/15291 | PRname=Supermatter Update | DraftPage=User:Sirryan2002
Pull Request: Supermatter Update
Draft Page: User:Sirryan2002
Example Pages
To implement your own Documentation on another template page or to understand how to use the Documentation template, please see Template:Documentation