Template:Anchor: Difference between revisions

Template page
No edit summary
(Undo revision 442264 by Wakeup720 (talk))
Tag: Undo
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|<|&#60;}}}}<!--
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|<|&#60;}}}}<!--
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|>|&#62;}}}}<!--
-->{{#vardefine:anchor|{{#replace:{{#var:anchor}}|>|&#62;}}}}<!--
--><span id={{#var:anchor}}/></includeonly>
--><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

GGST Zato-1 2P.png https://www.dustloop.com/w/Template:Anchor/doc#Zato_Picture