%[if %("%id=anchor_tag%" != "")% ]%
%id=anchor_tag%
%[endif]%
%slice -addTypes="com.stacks4stacks.stacks.querydisplaycondition" -addInit=0% %[if %("%id=no_conditional_matches%" == "true")% ]% %[if edit]%

Place content here, when there are no queries that match your conditions:

%[endif]%
%slice%
%[endif]%