Does anyone know how to write words related to a word on the back page in such a way that clicking on it takes you to that word’s page (without using add ons)?
for ex : on the back page of the word “view,” write “see,” and by clicking “see” you will be taken to the page for that word.
Try adding this code to your template (it doesn’t work on my end for some reason):
<div id="related"></div>
<script>
var e = document.getElementById("related");
var result = "";
var words = `{{Related}}`.split(", ");
for (var i=0; i<words.length; i++) {
result += "<button onclick=\"api.ankiSearchCard('" + words[i] + "');\">" + words[i] + "</button> ";
}
e.innerHTML = result.trim();
</script>
You can add the related words to a field called Related separated by commas like this: