Template Syntax
WikiEducator Tutorials | ||
---|---|---|
Tutorial 9 | Introduction | Template Syntax | Examples | Show me how | Summary & FAQs | |
The syntax you use to include an iDevice template in your content is quite simple. You just surround the name of the template in curly braces like this:
{{Template_name}}
To include the Objectives template in your content, for example, you would write:
{{Objectives}}
This would appear like this:
(If you see {{{1}}} don't worry. It will disappear when you add some content.)
You can include almost any wiki text you like inside your template. To add content into the template, begin by adding a pipe "|" (shift then \ on most keyboards) right after the template name, then your normal wiki text like this:
{{Objectives| My objectives will go here: * one * two }}
Don't forget to close it all off with double curly-braces. It will result in an iDevice like this:
Just insert the following syntax before the idevice, for example:
<br> {Objectives| My objectives will go here: * one * two}}.
See detailed instructions about intervening when an iDevice directly follows a section