Difference between pages "Template:Answer" and "Template:Learning Activity Overview"

From TeachingOpenSource
(Difference between pages)
m
 
m
 
Line 1: Line 1:
<onlyinclude><span class="mw-collapsible mw-collapsed" data-expandtext="Ans" data-collapsetext="Hide"><span style="background:gray">{{{1}}}</span></span></onlyinclude>
=== Overview ===
 
{| class="wikitable"
|-
! style="text-align:right;" | Title
|'''{{{title}}}'''
|-
! style="text-align:right;" | Overview
|{{{overview}}}
|-
! style="text-align:right;" | Prerequisites
|{{{prerequisites}}}
|-  
! style="text-align:right;" | Learning Objectives
|The student should be able to:
{{{objectives}}}
|-
! style="text-align:right;" | [[:Category:Process Skills|Process Skills]] Practiced
|{{{process skills}}}
|-
|}
<noinclude>
<noinclude>
== Usage ==
== Usage ==
This template provides a hidden answer that a user can click to show and hide.
This template provides a consistent overview for [[:Category:Learning Activity|Learning Activities]], [[:Category:Learning Module|Learning Modules]], and [[:Category:Instructor Activities|Instructor Activities]].
The text below will result in a "Ans" link.  
(For details, see [[Learning Activity Template with Directions]], [[Learning Module Template with Directions]], etc.)
Click on "Ans" to change it to "Hide" and show the answer (42).
This template should be invoked with a value for each parameter:
Click on "Hide" to change it back and hide the answer.
<pre>
<pre>{{Answer|42}}</pre>
{{Learning Activity Overview
[[Category:Templates]]
|title=
Edit a Wiki (Activity)
|overview=
Culminating course for students in the final year of the major.
|prerequisites=
None
|objectives=
# Edit a wiki.
|process skills=
[[:Category:Communication (Written)|]]
}}
</pre>
Here is a blank template to copy & paste:
<pre>
{{Learning Activity Overview
|title=
|overview=
|prerequisites=
|objectives=
|process skills=
}}
</pre>
 
=== Notes ===
* If we enable [https://www.mediawiki.org/wiki/Extension:ParserFunctions Extension:ParserFunctions] we can include prompts for new or missing parameters, e.g.:
<pre>{{#if: {{{overview|}}} | {{{overview}}} | "overview" is missing. }} </pre>
</noinclude>
</noinclude>

Revision as of 15:12, 5 February 2017

Overview

Title {{{title}}}
Overview {{{overview}}}
Prerequisites {{{prerequisites}}}
Learning Objectives The student should be able to:

{{{objectives}}}

Process Skills Practiced {{{process skills}}}

Usage

This template provides a consistent overview for Learning Activities, Learning Modules, and Instructor Activities. (For details, see Learning Activity Template with Directions, Learning Module Template with Directions, etc.) This template should be invoked with a value for each parameter:

{{Learning Activity Overview
|title=
Edit a Wiki (Activity) 
|overview= 
Culminating course for students in the final year of the major.
|prerequisites=
None
|objectives=
# Edit a wiki.
|process skills=
[[:Category:Communication (Written)|]]
}}

Here is a blank template to copy & paste:

{{Learning Activity Overview
|title=
|overview= 
|prerequisites=
|objectives=
|process skills=
}}

Notes

{{#if: {{{overview|}}} | {{{overview}}} | "overview" is missing. }}