I try to be as productive as possible in creating my maps and don’t want to duplicate certain things. That’s why I’m asking how I can “program” the cards so that they are only created when the required fields are present.
I hope someone can help me with this.
Conditional Replacement does exactly what you want.
Say you only want to create the card if the field Map 3 has content in it, you create a card with the following Front layout:
Map 3
{{#Map 3}} Whatever content you want to go on this card goes here. Maybe it references {{Map 3}}, but doesn’t even have to. {{/Map 3}}
{{#Map 3}}
Whatever content you want to go on this card goes here. Maybe it references {{Map 3}}, but doesn’t even have to.
{{/Map 3}}
This will leave the front side empty if that field is empty. Anki is smart enough to discard the card if the front is empty.