How do I display variables in my course?

You can set any variable to appear on your course pages by simply inputing the variable name incased in curly braces into a text element, like this {{variable.name}}.

For example, perhaps you have a welcome page and you'd like to greet your learner by name, you could input into the text element: Welcome {{sys.learner.name}}! So that the page gives a custom welcome for every learner visiting the page.

Do note that variables are an online, dynamic feature that will not appear, or function, in any print version of your course.

Also, any variable with conditions reliant on other pages in a course will not properly display in a single page preview. You'll need to perform a full course preview in order to see those specific variables.

Feedback and Knowledge Base