Template:anchor/documentation

From Laenkea
Jump to navigation Jump to search

Creates an anchor ID which can be called in links.

  • |1= (required): anchor ID
  • |2=: anchor content (inline)

Anchor naming

When linking with {{m}}, {{m+}} or {{l}}, anchors will be assumed to begin with the language code, followed by the specified anchor parameter. Hence, anchor IDs in Radestrian entries should begin with rad. The following systematic approach is also recommended:

  • Etymology sections should be labelled with a number: rad1
  • Senses should be labelled with a number following an underscore rad_1
    • Hence, rad3_2 should refer to Sense 2 of Etymology 3.

Linking can then be done by using {{m|rad|word|anchor=3_2}}, for example.