Here's hoping someone can help.
I'm adding rider names into the {person} field of my images, then at the end of the naming process applying a template using the following code to copy that person info into my captions. It works perfectly as you'd expect.
{persons} during race 1 of the {event} held at {location} near {city} in the {state} of {country} on {day0} {monthname} {year4}.
What I want to have it do is enter the default word 'Riders' into the caption if that field is null in the {persons} field.
I know I can do it with a delimiter in the code replacement panel but that means I have to type \\ into every {person} field in every image that doesn't have a name rather than just skip past them and let the template do the hard lifting.