When you said;
Were you then referring to;
That is wikitext in a template?
- If so it is in some ways a different question.
Because in a way using a template is reusable code, just as macros are (and can include macros).
If this is the case;
- Then we want to write wikitext that refers to the current tiddler. It is hard coded in the template, not the tiddler.
You can use this directly in the “view” and other templates;
<a href={{!!wikipedia-link}} class="tc-tiddlylink-external">More info from wikipedia</a>
- The current tiddler is implied before the
!!
or this
<$list filter="[all[current]has[wikipedia-link]]" variable=~>
<a href={{!!wikipedia-link}} class="tc-tiddlylink-external">More info from wikipedia</a>
</$list>
or just {{!!wikipedia-link}}
and other forms,
- What do you mean by this? I don’t seem to have this problem. “macros is macros”.
There are many ways and tangents to answering your initial topic, with all due respect, I suspect you are missing a particular concept, or cognitive model (or I am about your words ).
- I faced a number of these cognitive hurdles learning tiddlywiki myself. Once overcome they are incorporated into your thinking and you forget they were ever an issue. So they are hard to “share” with others.
- If we can document these they would be “documentation gold”.