Difference between revisions of "Template:Obsolete"

From Paradise Station Wiki
Jump to navigation Jump to search
(added ability to add PR number)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="margin: 1em 0 1em 0; background:#FFCCCC; border-style:outset; border-width:.2em; border-color:darkgray; border-radius:1em; padding: 1px;">
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;">
<p style="text-align:center;">'''This article features ''obsolete'' content.'''</p>
<div style="background:#FFCCCC; border-radius: .2em; color: black; padding: .4em .8em .5em;"><center>'''This article features ''obsolete'' content.'''<br>This article contains content which is no longer in the Paradise Codebase, this page has been kept for archiving purposes.  
<p style="text-align:center;">This article contains content which is no longer in the Paradise Codebase, this page has been kept for archiving purposes.</p>
{{#if:{{{PRNumber|}}}|<br>Removed in: '''[https://github.com/ParadiseSS13/Paradise/pull/{{{PRNumber}}} #{{{PRNumber}}}&nbsp;{{{PRName}}}]'''|}}</center></div></div>
</div><includeonly>[[Category:Obsolete Content]]</includeonly><noinclude>
<includeonly>[[Category:Obsolete Content]]</includeonly><noinclude>


==Usage==
==Usage==
Line 9: Line 9:
To add the template to a page simply write:
To add the template to a page simply write:


{| style="background-color:#EEEEEE"
<code><nowiki>{{Obsolete}}</nowiki></code>
| <code><nowiki>{{Obsolete}}</nowiki></code>
|}


This will give the following result:
This will give the following result:


{{Obsolete}}
{{Obsolete}}
<code><nowiki>{{Obsolete|PRNumber=17467|PRName=Removes shadowlings. Does not add anything else to compensate}}</nowiki></code>
This will give the following result:
{{Obsolete|PRNumber=17467|PRName=Removes shadowlings. Does not add anything else to compensate}}


[[Category:Maintenance Templates]]
[[Category:Maintenance Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:49, 13 May 2022

This article features obsolete content.
This article contains content which is no longer in the Paradise Codebase, this page has been kept for archiving purposes.


Usage

Adding this template adds the page to the following category:

To add the template to a page simply write:

{{Obsolete}}

This will give the following result:

This article features obsolete content.
This article contains content which is no longer in the Paradise Codebase, this page has been kept for archiving purposes.

{{Obsolete|PRNumber=17467|PRName=Removes shadowlings. Does not add anything else to compensate}}

This will give the following result:

This article features obsolete content.
This article contains content which is no longer in the Paradise Codebase, this page has been kept for archiving purposes.
Removed in: #17467 Removes shadowlings. Does not add anything else to compensate