Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

Template:movinganchor: Difference between revisions

From HR Wiki Twice
Jump to navigationJump to search
imported>HRWikiMirrorBot
Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)
 
imported>HRWikiMirrorBot
Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)
 
Line 1: Line 1:
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
<!-- Wayback HTML body (hrwiki.org); RawHtml -->
{{{2}}}
<html>
<p>{{{2}}}
</p>
<hr/>
<a id="Usage" name="Usage"></a><h3> <span class="mw-headline"> Usage </span></h3>
<p>Links to current, specific sections on pages like <a href="/index.php?title=Talk:Main_Page" title="Talk:Main Page">Talk:Main Page</a> will break after that content has been archived as usually done. In order for these links to work for future readers, create the link using this template rather than hard-coding it.
</p>
<a id="Syntax" name="Syntax"></a><h3> <span class="mw-headline"> Syntax </span></h3>
<ul><li><code>{{movinganchor|archive|current|anchor}}</code>
<ul><li><code>archive</code> — The page where <code>anchor</code> will be archived in the future.
</li><li><code>current</code> — The current page where <code>anchor</code> resides.
</li><li><code>anchor</code> — The section/anchor name. <i>(Optional)</i>
</li></ul>
</li></ul>
<a id="Example" name="Example"></a><h3> <span class="mw-headline"> Example </span></h3>
<ul><li><code>[[{{movinganchor|HRWiki:Main Page Talk Archive 40|Talk:Main Page|Featured Article (DNA Evidence) Typo}}]]</code> → <a href="/index.php?title=HRWiki:Main_Page_Talk_Archive_40" title="HRWiki:Main Page Talk Archive 40">HRWiki:Main Page Talk Archive 40#Featured Article (DNA Evidence) Typo</a>
</li><li><code>[[{{movinganchor|HRWiki:Main Page Talk Archive 1987|Talk:Main Page}}]]</code> → <a href="/index.php?title=Talk:Main_Page" title="Talk:Main Page">Talk:Main Page</a>
</li></ul>


----


=== Usage ===


Links to current, specific sections on pages like [[Talk:Main Page]] will break after that content has been archived as usually done. In order for these links to work for future readers, create the link using this template rather than hard-coding it.
 
<div class="visualClear"></div>
=== Syntax ===
</html>
 
* {{movinganchor|archive|current|anchor}}
** archive — The page where anchor will be archived in the future.
** current — The current page where anchor resides.
** anchor — The section/anchor name. ''(Optional)''
 
=== Example ===
 
* [[{{movinganchor|HRWiki:Main Page Talk Archive 40|Talk:Main Page|Featured Article (DNA Evidence) Typo}}]] → [[HRWiki:Main Page Talk Archive 40|HRWiki:Main Page Talk Archive 40#Featured Article (DNA Evidence) Typo]]
* [[{{movinganchor|HRWiki:Main Page Talk Archive 1987|Talk:Main Page}}]] → [[Talk:Main Page]]
[[Category:Internal link templates]]



Latest revision as of 21:00, 18 July 2026

{{{2}}}


Usage

Links to current, specific sections on pages like Talk:Main Page will break after that content has been archived as usually done. In order for these links to work for future readers, create the link using this template rather than hard-coding it.

Syntax

  • {{movinganchor|archive|current|anchor}}
    • archive — The page where anchor will be archived in the future.
    • current — The current page where anchor resides.
    • anchor — The section/anchor name. (Optional)

Example