Difference between revisions of "Template:Archive"

From comp.tf
Jump to navigation Jump to search
(created template)
 
m
 
(3 intermediate revisions by the same user not shown)
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>
 
<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|soldier}}
 +
</pre>
 +
 
 +
===Will yeld===
 +
{{archive|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]