Template:Archive: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Cleanup)
m (21 revisions imported: Imported from https://strategywiki.org/)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="background-color: #f9f9f9; border: 1px solid #aaa; float: right; padding: 5px; text-align: center;">
<templatestyles src="Template:Archive/styles.css" /><div class="archive_box">[[File:Vista-file-manager.png|50px|Archive]]<p class="archive_heading">Archives</p>
[[Image:Vista-file-manager.png|50px|Archive]]
<div>{{{1}}}</div></div><noinclude>
<p style="font-size: large; line-height: 110%; margin: 0; padding: 0;">Archives</p>
{{TemplateStyles|Template:Archive/styles.css}}
<hr style="width:200px" />
<div style="padding-right: 10px;padding-left: 10px; text-align: justify">
{{{1}}}
</div>
</div><noinclude>


This template is used to link to archived pages, typically in [[StrategyWiki talk:Community Portal|Community Issues]].
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.


[[Category:Templates|A]]</noinclude>
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.
 
<pre>{{Archive|[[User talk:Username/Archive 1|Archive 1]]<br />[[User talk:Username/Archive 2|Archive 2]]}}</pre>
 
[[Category:Templates]]</noinclude>

Latest revision as of 18:28, 28 October 2023

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

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]]}}