Template:anchor

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search

This template generates an html anchor (link target).

Parameters[edit]

|1=
The ID that you want to assign to the anchor. This can be almost anything and can include spaces, but double quote signs (") should be avoided. However, you should probably keep it short and concise, as it will have to be typed verbatim by anyone who wants to create a link to this anchor.

Examples[edit]

Suppose you want to create an anchor for the abbreviation "Ezek." on the page Appendix:Abbreviations for English given names.

First choose an appropriate ID, such as "Ezek-abbrev", then replace Ezek. with

{{anchor|Ezek-abbrev}}Ezek.

This does not change the way the page looks.

Now, when you want to link to this line on the appendix page from within Wiktionary, you can use

[[Appendix:Abbreviations for English given names#Ezek-abbrev|Ezek.]]

See also[edit]