Template:IDevice
From WikiEducator
A single eXe-like iDevice (pedagogical template) that accepts arguments for type and theme.
<templatedata> { "description": "iDevice Pedagogical Template", "params": {
"theme": {
"label": "Theme",
"description": "style family (e.g. WikiEducator, OP, Line, Blue, etc.)",
"aliases": [],
"default": "WikiEducator",
"type": "string"
},
"type": {
"label": "Type",
"description": "type of pedagogical template (e.g. Activity, Objectives, Discussion, etc.)",
"aliases": [],
"default": "",
"type": "string",
"required": true
},
"title": { "label": "Title", "description": "title, if other than the iDevice type", "aliases": [], "default": "", "type": "string" }, "TOCdepth": { "label": "TOC Depth", "description": "depth in the table of contents", "aliases": [], "default": "", "type": "number" },
"body": {
"label": "Body",
"description": "Content area",
"aliases": [],
"default": "",
"type": "string"
},
"feedback": {
"label": "Feedback",
"description": "",
"aliases": [],
"default": "",
"type": "string"
},
"discussion": {
"label": "Discussion",
"description": "",
"aliases": [],
"default": "",
"type": "string"
},
"tip": {
"label": "Tip",
"description": "",
"aliases": [],
"default": "",
"type": "string"
},
"classes": {
"label": "Classes",
"description": "additional HTML classes to apply to iDevice (advanced use only)",
"aliases": [],
"type": "string"
},
"id": {
"label": "id",
"description": "HTML id to assign to iDevice (advanced use)",
"aliases": [],
"type": "string"
}
} } </templatedata>
Parameters
- theme
- causes invocation of {{IDevice/{{{theme}}}}} allowing the creation of a family of themed iDevices (see below)
- type
- the type of pedagogical template i.e. Activity, Objective, Discussion which can be used to select the icon and provide a default title for the iDevice
- title
- an optional override for the title of the iDevice
- body
- the body wikitext of the iDevice
- feedback
- optional feedback section
- discussion
- optional discussion section
- tip
- optional tip section
- classes
- optional classes to add to the containing DIV of the iDevice (advanced use only)
- id
- optional HTML id for iDevice
Themes
Template:
IDevice
IDevice
| IDevice/blue | IDevice/ind | IDevice/ind/icon |
| IDevice/line | IDevice/line/icon | IDevice/modern |
| IDevice/op | IDevice/wikieducator |
Template talk: