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

From EVE University Wiki
Jump to: navigation, search
m
m (Refactor to use {{Banner}})
Line 1: Line 1:
 +
; Descrition
 +
: Include template {{T|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=|]] Past content<br>The hull has been converted to a SKIN}}
  
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:31, 25 October 2021

Descrition
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 Past content
The hull has been converted to a SKIN