ComfyUI Node
π Text Template (nhk)
Text template engine with placeholder replacement using bracket syntax
π Text Template (nhk)
- output
βtemplateThe [a] walks in the [b]βΊ
βaβΊ
βbβΊ
βcβΊ
βdβΊ
Categorynhk/text
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| template | STRING | The [a] walks in the [b] | Template text with [placeholder] syntax. Placeholders: [a] [b] [c] [d] |
| aopt | STRING | (optional) Value for [a] placeholder | |
| bopt | STRING | (optional) Value for [b] placeholder | |
| copt | STRING | (optional) Value for [c] placeholder | |
| dopt | STRING | (optional) Value for [d] placeholder |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | STRING | β |