Template:movinganchor

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(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> &mdash; The page where the <code>anchor</code> will be archived in the future.
+
**<code>archive</code> &mdash; The page where <code>anchor</code> will be archived in the future.
**<code>current</code> &mdash; The current page where <code>anchor</code> resides.
**<code>current</code> &mdash; The current page where <code>anchor</code> resides.
**<code>anchor</code> &mdash; The section/anchor name.
**<code>anchor</code> &mdash; 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 where anchor will be archived in the future.
    • current — The current page where anchor resides.
    • anchor — The section/anchor name.

Example

Personal tools