Template movinganchor: Difference between revisions
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 | <!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine --> | ||
{{{2}}} | {{{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. | 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 === | |||
== | |||
* | * [[{{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 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)