You’re right, I think I’m confused.
From my understanding, you want to replace a setting name with its value. Is it correct?
Also, you say the text presented can vary depending on these variables – are you saying you want different text depending on a setting value?. It’s unclear what you’re looking for.
Can you give a concrete example?