Difference between revisions of "Template:Archive"

From comp.tf
Jump to navigation Jump to search
m (added automatic categorization to template)
m (fixed template)
Line 7: Line 7:
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
Place <code>&#123;&#123;archive&#125;&#125;</code> on the page you want, placing it in [[:Category:Archives]].
+
 
 +
*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 ===
 +
<pre>
 +
{{archive
 +
| mainpage = Soldier
 +
}}
 +
</pre>
 +
 
 +
===Will yeld===
 +
{{archive
 +
| mainpage = Soldier
 +
}}
 +
 
 
[[Category:Maintenance templates]]
 
[[Category:Maintenance templates]]

Revision as of 12:26, 12 March 2014


Usage

  • 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

{{archive
| mainpage = Soldier
}}

Will yeld