Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Anchor/Documentation

Revision as of 20:24, 19 November 2023 by Mr. Johnson (talk | contribs) (Created page with "<includeonly><!--Template Subcategories--></includeonly> {{Template|Anchor}} is used to create HTML and wikitext anchors via span IDs. ==Usage== It accepts one {{Parameter|mandatory|string}}, the reference text. ==Returns== {{Code|<nowiki>{{Anchor|B21}}</nowiki>}} on SCIRE returns the text, and allows a URL like {{Code|<nowiki>http://wiki.s3.privateworks.com/index.php/SCIRE#B21</nowiki>}} or a wiki reference to {{Code|<nowiki>SCIRE#B21</nowiki>}} to link directl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Anchor is used to create HTML and wikitext anchors via span IDs.

Usage

It accepts one mandatory string parameter, the reference text.

Returns

{{Anchor|B21}} on SCIRE returns the text, and allows a URL like http://wiki.s3.privateworks.com/index.php/SCIRE#B21 or a wiki reference to [[SCIRE#B21]] to link directly to that section of the text:

Notes

Headings automatically create their own anchors, e.g. [[SCIRE#Basement_Levels]] creates a link: