Fixed #21747 -- Added {% elif %} to template topics guide.

Thanks gcc for the suggestion.