Documentation icon Template documentation[view] [edit] [history] [purge]


This template provides an anchor on the page, along with visible text, which will be highlighted when a link to the anchor is followed. The visible text is not necessarily the same as the anchor name.

Note on highlighting. The highlighting of the anchor text relies on the class "HighlightedAnchor", which uses CSS3. This means that many browsers will not be able to see this highlighting.


Anchor with name and text identical

सम्पाद्यताम्
{{anchor+|Anchor}}

Anchor

Creates the anchor named "Anchor", with the visible text "Anchor". The anchor is reachable by the link फलकम्:Anchor+#Anchor.

Anchor with name and text different

सम्पाद्यताम्
{{anchor+|Anchor1|Visible anchor text}}

Visible anchor text

Creates the anchor named "Anchor1", with the visible text "Visible anchor text". The anchor is reachable by the link फलकम्:Anchor+#Anchor1.
  • {{anchor}} - can carry multiple variables, though no visible text
"https://sa.wikisource.org/w/index.php?title=फलकम्:Anchor%2B&oldid=36315" इत्यस्माद् प्रतिप्राप्तम्