Difference between revisions of "Template:Awaiting PR"

From Paradise Station Wiki
Jump to navigation Jump to search
(adds hashtag for PR number)
 
(12 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:''' [{{{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 Request.</center></div></div>
'''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|}}}|&nbsp;#{{{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>
[[Category:Awaiting PR]]</includeonly>
 
 
 
<noinclude>
<noinclude>
{{Documentation
{{Documentation
| ImplementationCode=<pre>
|ImplementationCode = <pre>
Awaiting PR
&#123;&#123;Awaiting PR
| PRlink=
| PRlink=
| PRname=
| PRname=
| DraftPage=
| DraftPage=
</pre>
&#125;&#125;</pre>
| 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.
|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.
| V1=PRlink | VD1=The full external link to the PR in its raw form
|V1 = PRlink | VD1=The full external link to the PR in its raw form
| V2=PRname | VD2=The title of the PR on the PR's github page
|V2 = PRname | VD2=The title of the PR on the PR's github page
| V3=DraftPage |VD3=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
|V3 = DraftPage |VD3=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
| ExampleCode=<pre>
|ExampleCode = <pre>
Awaiting PR
Awaiting PR
| PRlink=https://github.com/ParadiseSS13/Paradise/pull/15291  
| PRlink=https://github.com/ParadiseSS13/Paradise/pull/15291  
Line 25: Line 21:
| DraftPage=User:Sirryan2002
| DraftPage=User:Sirryan2002
</pre>
</pre>
|Example={{Awaiting PR
|Example = {{Awaiting PR
| PRlink=https://github.com/ParadiseSS13/Paradise/pull/15291  
|PRlink = https://github.com/ParadiseSS13/Paradise/pull/15291  
| PRname=Supermatter Update
|PRname = Supermatter Update
| DraftPage=User:Sirryan2002
|DraftPage = User:Sirryan2002
}}
}}
|ExamplePage1=Supermatter Engine
|ExamplePage1 = Supermatter Engine
}}
}}
[[Category:Maintenance Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:17, 15 July 2021


float:left 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

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.

Example Pages


To implement your own Documentation on another template page or to understand how to use the Documentation template, please see Template:Documentation