Nodes/ComfyUI-nhknodes/πŸ“ Text Template (nhk)
ComfyUI Node

πŸ“ Text Template (nhk)

Text template engine with placeholder replacement using bracket syntax

By EnashkaΒ·Created 11 months agoΒ·Updated about a month agoΒ· 22
πŸ“ Text Template (nhk)
    • output
    β—„templateThe [a] walks in the [b]β–Ί
    β—„aβ–Ί
    β—„bβ–Ί
    β—„cβ–Ί
    β—„dβ–Ί
    Categorynhk/text

    Inputs (5)

    NameTypeDefaultDescription
    templateSTRINGThe [a] walks in the [b]Template text with [placeholder] syntax. Placeholders: [a] [b] [c] [d]
    aoptSTRING(optional) Value for [a] placeholder
    boptSTRING(optional) Value for [b] placeholder
    coptSTRING(optional) Value for [c] placeholder
    doptSTRING(optional) Value for [d] placeholder

    Outputs (1)

    NameTypeDescription
    outputSTRINGβ€”