dt::param
A tile has no parameters: only a definition does.
What to do
Move the param line into a let with a body, or write a let in the tile.
The rule
A
letwith a body hasparamlines and either one entry written bare or onestack. The body says what it names: one bare entry that is an unplaced thing (let oak { tree … }) names a thing, so it can be placed withat=or scattered (scatter count=2 { oak }); any other bare entry, and everystack, names a layer. Several entries are written in astack, which is always a layer. It is called like an element; its params are set as properties, and a place (at=) passes through to the elements inside it. A definition can call another. Definitions that call each other in a loop are an error (dt::loop). Alethas a value or a body, never both, and a body is never empty. The old word for this wasdefine: it is refused (dt::retired) with the fix of writingletover it.
Read it in context: Parts · A let with a body names a thing or a layer, called like an element