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
Imported from hrwiki.org via Wayback Machine (HTML→wikitext)
 
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; HTML converted to wikitext. Formatting may be imperfect. -->
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
{{{2}}}
{{{2}}}


-----
----


<span id="usage"></span>
=== Usage ===
=== <span class="mw-headline"> Usage </span> ===


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.
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.


<span id="syntax"></span>
=== Syntax ===
=== <span class="mw-headline"> Syntax </span> ===


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


<span id="example"></span>
=== Example ===
=== <span class="mw-headline"> Example </span> ===


* <code>[[{{movinganchor|HRWiki:Main Page Talk Archive 40|Talk:Main Page|Featured Article (DNA Evidence) Typo}}]]</code> → [[HRWiki:Main Page Talk Archive 40|HRWiki:Main Page Talk Archive 40#Featured Article (DNA Evidence) Typo]]
* [[{{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]]
* <code>[[{{movinganchor|HRWiki:Main Page Talk Archive 1987|Talk:Main Page}}]]</code> → [[Talk:Main Page]]
* [[{{movinganchor|HRWiki:Main Page Talk Archive 1987|Talk:Main Page}}]] → [[Talk:Main Page]]
 
[[Category:Internal link templates]]
<div id="catlinks" class="catlinks">
 
<div id="mw-normal-catlinks">
 
[/wiki/Special:Categories Category]: <span dir="ltr">[[Category:Internal link templates|Internal link templates]]</span>
 
</div>
 
</div>



Latest revision as of 14:24, 14 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

  • Template:Movinganchor
    • 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