Difference between revisions of "Template:Awaiting PR"

From Paradise Station Wiki
Jump to navigation Jump to search
(→‎Examples: fixed example code)
(Changed Pull Review to Pull Request)
Line 1: Line 1:
<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 Review:''' [{{{PRlink|https://github.com/ParadiseSS13/Paradise}}} {{{PRname|Paradise Github}}}] '''<br>Draft Page:''' {{{DraftPage}}} <br></center></div><div style="padding: 1em; background: #FFAAFF"><center>This content of this article or section is outdated or is about to be outdated due to an ongoing Pull Review.</center></div></div>
'''This Section or Article is Awaiting a PR<br>Pull Request:''' [{{{PRlink|https://github.com/ParadiseSS13/Paradise}}} {{{PRname|Paradise Github}}}] '''<br>Draft Page:''' {{{DraftPage}}} <br></center></div><div style="padding: 1em; background: #FFAAFF"><center>This content of this article or section is outdated or is about to be outdated due to an ongoing Pull Review.</center></div></div>





Revision as of 00:04, 19 January 2021

This Section or Article is Awaiting a PR
Pull Request:
Paradise Github
Draft Page:
{{{DraftPage}}}
This content of this article or section is outdated or is about to be outdated due to an ongoing Pull Review.





How to use this Template

If there is a PR that is likely going to merge(you should confirm this with the coders) then you should apply this template above the article and draft article for the PR.

While the parameters are mostly straightforward, the "DraftPage" parameter refers to the location of a draft for the new PR. For example, if a new job was being added but the PR had not been merged yet then you may create that page ahead of time.

This template takes 3 Parameters:

  1. PRlink - This should be an external link to the PR
  2. PRname - This should be the name of the PR
  3. DraftPage - This should be the location of the page the PR is being drafted on it should be in this format=[[Namespace:PageName]]

Examples

{{Awaiting PR
| PRlink=https://github.com/ParadiseSS13/Paradise/pull/15291 
| PRname=Supermatter Update
| DraftPage=User:Sirryan2002
}}
This Section or Article is Awaiting a PR
Pull Request:
Supermatter Update
Draft Page:
User:Sirryan2002
This content of this article or section is outdated or is about to be outdated due to an ongoing Pull Review.