Plantilla:IDevice
Experiments with a single eXe-like iDevice (pedagogical template) that accepts arguments for type and theme.
<templatedata> { "description": "iDevice Pedagogical Template", "params": {
"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" }, "theme": { "label": "Theme", "description": "style family (e.g. WikiEducator, OP, Line, Blue, etc.)", "aliases": [], "default": "WikiEducator", "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
Themes
Plantilla discusión: