Creating user fields in a tiddler

Hello, I’d like to create a custom user field using a tiddler. What can I do about background-color, for example?

What does “using a tiddler” mean here? Do you mean to create a field while VIEWING a tiddler or EDITING a tiddler?
Also, does “do about” mean you want to ENTER or SELECT a background-color value or does it mean you want to USE a background-color value when displaying a custom user field?

Or maybe you mean something else entirely?

-e

In fact, I’d like to create a field type like background-color or image, since there are no such fields in an empty TiddlyWiki, and I’d like to create one (a field).
Here are the example images:


PS: knowing that I’m a Frenchwoman with zero English, I’m using DeepL to translate what I’m saying.

All you need is at least one tiddler that contains an “image” field and a “background-color” field.

To do this, just enter a field name into the “add a new field” input box and press the “add” button.
Note that you don’t need to enter a value for the new field… you can leave it blank.
Repeat for each desired field name. Then save the tiddler.

From then on, when creating additional tiddlers, the field name dropdown list will include “image” and “background-color” as choices in the “user fields” section of the list.

Note that if you name your initial tiddler something like “$:/MySystemFields”, it will be created as a “system” tiddler (because it starts with “$:/”). This will prevent it from appearing directly in the sidebar lists of tiddlers (except in the More>System tab). It will also list the “image” and “background-color” fields as choices in the “system fields” section of the field name dropdown list.

enjoy,
-e