Difference between revisions of "Template:Past content"

From EVE University Wiki
Jump to: navigation, search
(Added optional extra field)
m
Line 1: Line 1:
<div style="width: 80%; margin: 1em 10%; padding: 1px; background-color: #ffffff;">
+
<includeonly><div style="width: 80%; margin: 1em 10%; padding: 1px; background-color: #ffffff;">
 
{| cellpadding="2" style="background-color: #000000; color: #FFFFFF; width: 100%; text-align:center;"
 
{| cellpadding="2" style="background-color: #000000; color: #FFFFFF; width: 100%; text-align:center;"
 
|[[File:Icon information square.png|50px|link=|]] This article documents a past event that is no longer in game {{#if: {{{1|}}}|<br>''{{{1}}}''|}}
 
|[[File:Icon information square.png|50px|link=|]] This article documents a past event that is no longer in game {{#if: {{{1|}}}|<br>''{{{1}}}''|}}
 
|}
 
|}
</div><includeonly>[[Category:Past content]]</includeonly><noinclude>
+
</div>[[Category:Past content]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:05, 3 December 2018

Template documentation (for the above template, sometimes hidden or invisible)
Description
Include template {{Past content}} at the beginning of articles that are for content that has been removed from EVE.
Putting this template on a page also adds it to the Past content category.
Dependencies
Uses:
{{Banner}}
Syntax
{{Past content|<note>}}
note (optional) - Can be used to describe when and/or what
Sample output
{{Past content|The hull has been converted to a SKIN}} produces this banner:
Icon information square.png This article documents content that is no longer in the game
The hull has been converted to a SKIN
Visit Template:Past content/doc to edit this text! (How does this work?) (Refresh this text - why?)