[CS1] Component Template Variables

When you create a component set, the names of each column in your component set will also become variables that can be used in the  design template language. Every component will always have a quantity and name variable, plus whatever other columns you create. So if we were doing a trivia game with 3 questions per card, we might have question1, question2, question3, answer1, answer2, and answer3, and category as additional variables.

To use the variable it must have a $ in front of it. And variables also must appear inside of set of braces.

{ $question1 }

All of the variables for your component set will appear at the bottom of the design, below the steps. The list will look like this:

You can click on any of those variable names to copy them to your clipboard. Then you can paste them into the appropriate text box. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us