Template:Anchor/doc: Difference between revisions
Content added Content deleted
(Created page with "{{doc/start}} Anchors are "jump points". Place them somewhere on a page and you will be able to link to that section of the page directly. Without the use of ==sections/headin...") |
(+TR) |
||
Line 1: | Line 1: | ||
{{doc/start}} |
{{doc/start}} |
||
Anchors are "jump points". Place them somewhere on a page and you will be able to link to that section of the page directly. Without the use of ==sections/headings/titles==. |
Anchors are "jump points". Place them somewhere on a page and you will be able to link to that section of the page directly. Without the use of == sections/headings/titles ==. |
||
==Usage== |
== Usage == |
||
<nowiki>{{</nowiki>Anchor|''Anchor ID''}} |
<nowiki>{{</nowiki>Anchor|''Anchor ID''}} |
||
*''Anchor ID'' is the text after the # character that you would like to be used in a link. |
* ''Anchor ID'' is the text after the # character that you would like to be used in a link. |
||
*These anchors are invisible. |
* These anchors are invisible. |
||
==How to link to anchors== |
== How to link to anchors == |
||
As an example, if you placed <nowiki>{{</nowiki>Anchor|Foo}} on the [[Sandbox]] page, you could use <nowiki>[[</nowiki>Sandbox#Foo]] as a link that jumps to it. |
As an example, if you placed <nowiki>{{</nowiki>Anchor|Foo}} on the [[Sandbox]] page, you could use <nowiki>[[</nowiki>Sandbox#Foo]] as a link that jumps to it. |
||
<noinclude> |
|||
[[tr:Şablon:Çengel/belge]] |
|||
</noinclude> |
|||
{{doc/end}} |
{{doc/end}} |
Revision as of 18:06, 5 May 2020
Template:Doc/start Anchors are "jump points". Place them somewhere on a page and you will be able to link to that section of the page directly. Without the use of == sections/headings/titles ==.
Usage
{{Anchor|Anchor ID}}
- Anchor ID is the text after the # character that you would like to be used in a link.
- These anchors are invisible.
How to link to anchors
As an example, if you placed {{Anchor|Foo}} on the Sandbox page, you could use [[Sandbox#Foo]] as a link that jumps to it.