Populate dropdown from MQTT

I have read the help text but I can't figure out how the MQTT-message string has to be formatted to add new entries to the dropdown element. One single example would be enough for me.