(Created page with "{{Documentation}} <includeonly><onlyinclude><span id="{{{1}}}" {{#if:{{lc:{{{display|}}}}}|false|style="display:none;"}}>{{{1}}}</span></onlyinclude></includeonly>") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><span id="{{{1}}}" {{#if:{{lc:{{{display|}}}}} | <includeonly><onlyinclude><span id="{{{1}}}" {{#if:{{lc:{{{display|}}}}}|style="display:none;"}}>{{{1}}}</span></onlyinclude></includeonly> | ||
Revision as of 17:27, 27 January 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
{{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:
The documentation above was transcluded from Template:Anchor/Documentation. [edit]
