DarthPhallus (talk | contribs) No edit summary |
Tag: Undo |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|<|<}}}}<!-- | -->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|<|<}}}}<!-- | ||
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|>|>}}}}<!-- | -->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|>|>}}}}<!-- | ||
--><span id="{{#var:anchor}}" | --><span id="{{#var:anchor}}"/></includeonly> | ||
<noinclude>{{clear}}{{doc}}</noinclude> | <noinclude>{{clear}}{{doc}}</noinclude> |
Latest revision as of 19:44, 17 January 2024
Purpose
Used to create page anchors anywhere, automatically cleans Reserved HTML characters. Page anchors are URL additions that scroll the page to take the user directly to a given element.
Example
{{Anchor|Zato Picture}} [[File:GGST_Zato-1_2P.png|200px]] https://www.dustloop.com/w/Template:Anchor/doc#Zato_Picture
The above documentation is transcluded from Template:Anchor/doc. (edit | history)