Can a caption made out of fields?

Hi TW-Community,

I tried to get a caption made out of fields.
Is that possible?

Description: BlaBla
No: 1
caption: {{{No}}} {{{Description}}}
tags: 
title: New Tiddler_1

What I want is “1 BlaBla” as caption but “No Description” is displayed.

Something wrong with the brackets?

Thx in advance
Stefan

Tripled curly braces delimit “filtered transclusion” syntax.

Thus, {{{No}}} is a filter containing literal text “No”, and {{{Description}}} is a filter containing literal text “Description”

To transclude field values, use DOUBLED curly braces around !!fieldname references, like this:

caption: {{!!No}} {{!!Description}}

Note that these transcluded field references depend upon the value of currentTiddler, so it will only give the correct result when currentTiddler is “New Tiddler_1”. To ensure that the caption is always correct, you may need to include the tiddler title in the reference, like this:

caption: {{New Tiddler_1!!No}} {{New Tiddler_1!!Description}}

-e

1 Like

@EricShulman
Thank you for the fast solution