I feel like I’m missing something which in my mind should be easy but I’m coming up on a blank. I would like to write a custom macro which creates an external link but only if the current tiddler has a certain field. In this case, the title of the field name is osm
. The value of osm is a url, pointing to it’s location on OpenStreetMap. I would like to be able to write <<osmlink>>
. Or do this through a transclusion. Here is an example tiddler below.
The Central Saloon.json (478 Bytes)