Difference between revisions of "Template:Past content/doc"

From EVE University Wiki
Jump to: navigation, search
m (Fix typo. Fix sample content to be identical to the template.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
; Description
 +
: Include template {{Tl|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 [[:Category:Past content|Past content]] category.
  
Include template {{t|Past content}} at the beginning of articles that are for content that has been removed from EVE.
+
; Dependencies
 +
: Uses:
 +
:: {{T|Banner}}
  
;Syntax
+
; Syntax
<code>{{t|Past content|optional note}}</code>
+
: <code>{{T|Past content|note}}</code>
 +
:: note (optional) - Can be used to describe when and/or what
  
;Sample output
+
; Sample output <!--
 +
 
 +
Not using the actual template to avoid the automatic category assigning
 +
 
 +
-->
 
:<code><nowiki>{{Past content|The hull has been converted to a SKIN}}</nowiki></code> produces this banner:
 
:<code><nowiki>{{Past content|The hull has been converted to a SKIN}}</nowiki></code> produces this banner:
{{Past content|The hull has been converted to a SKIN}}
+
{{Banner|color= black|border= white
 +
|[[File:Icon information square.png|50px|link=|]] This article documents content that is no longer in the game<br>The hull has been converted to a SKIN}}
  
<includeonly>[[Category:Template]]</includeonly>
+
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:30, 22 April 2022

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