Template:movinganchor
From Homestar Runner Wiki
(Difference between revisions)
(New template that may or may not see the day of Special:Log/delete. See the usage section for its use.) |
m (→Syntax: Grammar.) |
||
Line 6: | Line 6: | ||
=== Syntax === | === Syntax === | ||
*<code><nowiki>{{movinganchor|archive|current|anchor}}</nowiki></code> | *<code><nowiki>{{movinganchor|archive|current|anchor}}</nowiki></code> | ||
- | **<code>archive</code> — The page where | + | **<code>archive</code> — The page where <code>anchor</code> will be archived in the future. |
**<code>current</code> — The current page where <code>anchor</code> resides. | **<code>current</code> — The current page where <code>anchor</code> resides. | ||
**<code>anchor</code> — The section/anchor name. | **<code>anchor</code> — The section/anchor name. |
Revision as of 23:22, 20 January 2011
{{{2}}}#{{{3}}}
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, use this template in a piped link.
Syntax
{{movinganchor|archive|current|anchor}}
archive
— The page whereanchor
will be archived in the future.current
— The current page whereanchor
resides.anchor
— The section/anchor name.
Example
[[{{{movinganchor|HRWiki:Main Page Talk Archive 40|Talk:Main Page|Wiki image}}]]
→ HRWiki:Main Page Talk Archive 40#Wiki image