This approach is easier to read, easier to extend, and avoids awkward spacing problems without burying everything inside one long template string.
Why this matters
Small details like this improve trust in the system. Titles and labels are part of the everyday interface, so they need to stay tidy even when the underlying data is incomplete.
Need help applying something like this in a live workflow?
Reading a guide is often enough to clarify the pattern. If the workflow is already messy, brittle, or hard to trust, the better next step is usually to look at the operational problem directly.