Template:Archive: Difference between revisions

Template page
w:c:strategywiki>The Retro Gamer
m (Unless those are the only names for archives, that e.g. should be i.e.)
w:c:strategywiki>Prod
(use TemplateStyles)
Line 1: Line 1:
<div class="archive_box">[[Image:Vista-file-manager.png|50px|Archive]]<p class="archive_heading">Archives</p>
<templatestyles src="Template:Archive/styles.css" /><div class="archive_box">[[File::Vista-file-manager.png|50px|Archive]]<p class="archive_heading">Archives</p>
<div>{{{1}}}</div></div><noinclude>
<div>{{{1}}}</div></div><noinclude>
{{TemplateStyles|Template:Archive/styles.css}}


This template is used to link to archived pages, typically talk pages and the [[StrategyWiki:Staff lounge|Staff Lounge]]. To archive a page, move it to a new page, e.g. ''pagename''/Archive 1, or ''pagename''/1. Then go back to the original page and replace the redirect with the Archive template, passing a link to the newly archived page (and any previously archived pages) in the sole parameter.
This template is used to link to archived pages, typically talk pages and the [[StrategyWiki:Staff lounge|Staff Lounge]]. To archive a page, move it to a new page, e.g. ''pagename''/Archive 1, or ''pagename''/1. Then go back to the original page and replace the redirect with the Archive template, passing a link to the newly archived page (and any previously archived pages) in the sole parameter.
Line 8: Line 9:
<pre>{{Archive|[[User talk:Username/Archive 1|Archive 1]]<br />[[User talk:Username/Archive 2|Archive 2]]}}</pre>
<pre>{{Archive|[[User talk:Username/Archive 1|Archive 1]]<br />[[User talk:Username/Archive 2|Archive 2]]}}</pre>


[[Category:Templates|A]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 02:50, 14 December 2020

Page Template:Archive/styles.css has no content.

[[File::Vista-file-manager.png|50px|Archive]]

Archives

{{{1}}}

This template is used to link to archived pages, typically talk pages and the Staff Lounge. To archive a page, move it to a new page, e.g. pagename/Archive 1, or pagename/1. Then go back to the original page and replace the redirect with the Archive template, passing a link to the newly archived page (and any previously archived pages) in the sole parameter.

If there is content you want to keep at the top, copy it from the archived page instead of copying the parts you want to be archived to a new archive page. This will ensure that the edit history stays with the archived page and a fresh one is started with the new page. If you are using the Archive template on the page you now want to archive, don't forget to remove it from the page.

{{Archive|[[User talk:Username/Archive 1|Archive 1]]<br />[[User talk:Username/Archive 2|Archive 2]]}}