Template:Archive: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
97 bytes added ,  14 December 2020
use TemplateStyles
m (Unless those are the only names for archives, that e.g. should be i.e.)
(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>