etalon requiredThe value to test. It is trimmed before comparison, then matched against each option with strict (case-sensitive) string equality.
option1 requiredThe first value to compare against etalon. Each option is also trimmed before comparison. Pair it with text1.
text1 requiredThe text returned when etalon equals option1. Inside it, _#1 is replaced by etalon and _#2 by option1; you may also use any other AA expression.
option2, text2, ... optionalOptional further option/text pairs. ifeq tests them in order and returns the text of the first option that equals etalon - it behaves like a small switch.
else_text optional default (empty string)Optional trailing argument returned when no option matches. If omitted, a non-match returns an empty string.
{ifeq:hello:hello:Match found:No match}
{ifeq:cat:dog:Woof:Not a dog}
[{ifeq:cat:dog:Woof}]
{ifeq:cz:en:English:cz:Czech:Unknown}
{ifeq:apple:apple:You picked _#1:none}