As specified in the documentation, it should be possible to use variables in suite/test setup/teardown keywords. Quoting:
The name of the keyword to be executed as a setup or a teardown can be a variable. This facilitates having different setups or teardowns in different environments by giving the keyword name as a variable from the command line.
Example:
Test case
[Setup] ${TEST_CASE_SETUP}
Effectively the variable can also be just a part of the keyword, like:
As specified in the documentation, it should be possible to use variables in suite/test setup/teardown keywords. Quoting:
Example:
Effectively the variable can also be just a part of the keyword, like: