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...") |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
==Returns== | ==Returns== | ||
{{Code|<nowiki>{{Anchor| | Using something like {{Code|<nowiki>{{Anchor|Magic Tab}}</nowiki>}} on [[Character Actor Sheet]] would returns the text, and allows a URL like {{Code|<nowiki>http://http://sr5-foundry.privateworks.com/index.php/Character_Actor_Sheet#Magic_Tab</nowiki>}} or a wiki reference to {{Code|<nowiki>[[Character Actor Sheet#Magic Tab]]</nowiki>}} to link directly to that section of the text: {{Return|[[Character Actor Sheet#Magic Tab]]}} | ||
==Notes== | ==Notes== | ||
Headings automatically create their own anchors, e.g. {{Code|<nowiki>[[ | Headings automatically create their own anchors, e.g. {{Code|<nowiki>[[Character Actor Sheet#Magic Tab]]</nowiki>}} creates a link: {{Return|[[Character Actor Sheet#Magic Tab]]}} |
Revision as of 20:28, 19 November 2023
Template:Anchor
is used to create HTML and wikitext anchors via span IDs.
Usage
It accepts one mandatory string parameter, the reference text.
Returns
Using something like {{Anchor|Magic Tab}}
on Character Actor Sheet would returns the text, and allows a URL like http://http://sr5-foundry.privateworks.com/index.php/Character_Actor_Sheet#Magic_Tab
or a wiki reference to [[Character Actor Sheet#Magic Tab]]
to link directly to that section of the text:
Notes
Headings automatically create their own anchors, e.g. [[Character Actor Sheet#Magic Tab]]
creates a link: