Template:Learning Activity Info
From Foss2Serve
(Difference between revisions)
m |
m |
||
(23 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! style="text-align:right;" | [[ | + | ! style="text-align:right;" | [[:Category:ACM Body of Knowledge|ACM BoK]]<br>Area & Unit(s) |
− | | | + | | |
+ | {{{acm unit}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | ACM Topic | + | ! style="text-align:right;" | [[:Category:ACM Body of Knowledge|ACM BoK]]<br>Topic(s) |
− | | {{{acm topic}}} | + | | |
+ | {{{acm topic}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | | + | ! style="text-align:right;" | {{Hover|e.g. Easy,Medium,Hard|Difficulty}} |
− | | {{{difficulty}}} | + | | |
+ | {{{difficulty}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | Estimated | + | ! style="text-align:right;" | {{Hover|e.g. 45 minutes|Estimated Time<br>to Complete}} |
− | | {{{time}}} | + | | |
+ | {{{time}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | Environment / Materials | + | ! style="text-align:right;" | Environment / <br>Materials |
− | | {{{environment}}} | + | | |
+ | {{{environment}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | Author(s) | + | ! style="text-align:right;" | {{Hover|contact info optional|Author(s)}} |
− | | {{{author}}} | + | | |
+ | {{{author}}} | ||
|- | |- | ||
! style="text-align:right;" | Source | ! style="text-align:right;" | Source | ||
− | | {{{source}}} | + | | |
+ | {{{source}}} | ||
|- | |- | ||
− | ! style="text-align:right;" | License | + | ! style="text-align:right;" | {{Hover|e.g. CC-BY-SA|License}} |
− | | {{{license}}} | + | | |
+ | {{{license}}} | ||
|- | |- | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
− | This template provides a consistent | + | This template provides a consistent '''Additional Information''' section for [[:Category:Learning Activity|Learning Activity]], [[:Category:Learning Frameworks|Learning Frameworks]], [[:Category:Learning Modules|Learning Modules]], and [[:Category:Instructor Activities|Instructor Activities]]. |
− | + | Similarly, [[Template:Learning Activity Overview]] provides a consistent '''Overview''' section. | |
+ | (For details, see the [[Learning Activity Format with Directions]], [[Learning Module Format with Directions]], etc.) | ||
+ | This template should be invoked with a value for each parameter: | ||
<pre> | <pre> | ||
{{Learning Activity Info | {{Learning Activity Info | ||
|acm unit= | |acm unit= | ||
− | SP Professional Communication | + | [[:Category:SP Professional Communication|]] |
|acm topic= | |acm topic= | ||
+ | |difficulty= | ||
+ | Medium | ||
|time= | |time= | ||
45 minutes | 45 minutes | ||
Line 48: | Line 58: | ||
|license= | |license= | ||
{{License CC BY SA}} | {{License CC BY SA}} | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Here is a blank template to copy & paste: | ||
+ | <pre> | ||
+ | {{Learning Activity Info | ||
+ | |acm unit= | ||
+ | |acm topic= | ||
+ | |difficulty= | ||
+ | |time= | ||
+ | |environment= | ||
+ | |author= | ||
+ | |source= | ||
+ | |license= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 53: | Line 77: | ||
=== Notes === | === Notes === | ||
* If we enable [https://www.mediawiki.org/wiki/Extension:ParserFunctions Extension:ParserFunctions] we can include prompts for new or missing parameters, e.g.: | * 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: {{{ | + | <pre>{{#if: {{{author|}}} | {{{author}}} | "author" is missing. }} </pre> |
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:43, 22 January 2019
ACM BoK Area & Unit(s) |
{{{acm unit}}} |
---|---|
ACM BoK Topic(s) |
{{{acm topic}}} |
Difficulty |
{{{difficulty}}} |
Estimated Time to Complete |
{{{time}}} |
Environment / Materials |
{{{environment}}} |
Author(s) |
{{{author}}} |
Source |
{{{source}}} |
License |
{{{license}}} |
Usage
This template provides a consistent Additional Information section for Learning Activity, Learning Frameworks, Learning Modules, and Instructor Activities. Similarly, Template:Learning Activity Overview provides a consistent Overview section. (For details, see the Learning Activity Format with Directions, Learning Module Format with Directions, etc.) This template should be invoked with a value for each parameter:
{{Learning Activity Info |acm unit= [[:Category:SP Professional Communication|]] |acm topic= |difficulty= Medium |time= 45 minutes |environment= internet access |author= Clif Kussmaul |source= (none) |license= {{License CC BY SA}} }}
Here is a blank template to copy & paste:
{{Learning Activity Info |acm unit= |acm topic= |difficulty= |time= |environment= |author= |source= |license= }}
Notes
- If we enable Extension:ParserFunctions we can include prompts for new or missing parameters, e.g.:
{{#if: {{{author|}}} | {{{author}}} | "author" is missing. }}