Template:Anchor/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
k6ka>K6ka
(Created page with "==Description== This creates one or more HTML anchors (up to 10) so you can jump to where this template appears with <code><nowiki></nowiki></code>''pagename''<code>#</code>...")
k6ka>K6ka
mNo edit summary
Line 1:
 
==Description==
This creates one or more HTML anchors (up to 10) so you can jump to where this template appears with <code><nowiki>[[</nowiki></code>''pagename''<code>#</code>''anchorname''<code><nowiki>]]</nowiki></code>. The result of the template should not be visible on the page.

Revision as of 00:31, 12 May 2017

Description

This creates one or more HTML anchors (up to 10) so you can jump to where this template appears with [[pagename#anchorname]]. The result of the template should not be visible on the page.

Syntax

Type {{Anchor|<anchorname1>|<...>|<anchorname10>}} somewhere.

Example

{{Anchor|jumphere}}
.
.
.
.
.
.
.
.
.
.
.
Click me to jump to anchor.

Credits

The template code was taken from the Templates Wiki on Wikia.