Difference between revisions of "Template:Archive"

From comp.tf
Jump to navigation Jump to search
m
m
 
Line 3: Line 3:
 
  | image = Archive.png
 
  | image = Archive.png
 
  | header = This page is an archive of an old page or not relevant to the main page content anymore.
 
  | header = This page is an archive of an old page or not relevant to the main page content anymore.
  | smalltext = This page exists for a documentation and historical purpose. Please refer to the [[:{{{pageurl}}}|Main Page]] for the main content of this page.}}
+
  | smalltext = This page exists for a documentation and historical purpose. Please refer to the [[:{{{1}}}|Main Page]] for the main content of this page.}}
 
<includeonly>[[Category:Archives]]</includeonly>
 
<includeonly>[[Category:Archives]]</includeonly>
 
<noinclude>
 
<noinclude>
Line 14: Line 14:
 
=== Example ===
 
=== Example ===
 
<pre>
 
<pre>
{{archive
+
{{archive|soldier}}
| mainpage = Soldier
 
}}
 
 
</pre>
 
</pre>
  
 
===Will yeld===
 
===Will yeld===
{{archive
+
{{archive|Soldier}}
| mainpage = Soldier
 
}}
 
  
 
[[Category:Maintenance templates]]
 
[[Category:Maintenance templates]]

Latest revision as of 12:31, 12 March 2014


Usage[edit]

  • Just copy the code below to the page you want and edit the values after the "="
  • The page URL should be the short internal URL (ie: Soldier not http://comp.tf/wiki/Soldier)
  • This template will automatically place any page in Category:Archives.

Example[edit]

{{archive|soldier}}

Will yeld[edit]