Template:movinganchor

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(recategorize properly)
(autoreplace: — → {{--}})
 
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 <code>anchor</code> will be archived in the future.
+
**<code>archive</code> {{--}} 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> {{--}} The current page where <code>anchor</code> resides.
-
**<code>anchor</code> &mdash; The section/anchor name. ''(Optional)''
+
**<code>anchor</code> {{--}} The section/anchor name. ''(Optional)''
=== Example ===
=== Example ===

Current revision as of 04:13, 4 November 2022

{{{2}}}


[edit] 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.

[edit] 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)

[edit] Example

Personal tools