User:Kruhly/Templates

From WikiEducator
Jump to: navigation, search

Playing with Templates



Icon activity.jpg
Activity
My Activity
Icon present.gif
Tip: Call the parameter explicitly to eliminate problems with equal signs in argument data, even if it is a 1,2,3, etc parameter.



Multiple feedback in an activity template


Icon activity.jpg Activity
  • This is the first content
  • This is the second content



Icon activity.jpg Activity
  • This is the first content
  • This is the second content


Complex Template parameters

Attempt at nesting templates does not work unless you explicitly name the parameter even if it is 1,2,3 etc:

{{Activity2
| Title=Exploration
| Content=
{{Activity
|1 = hi this is an embedded activity with the Exploration Activity
|TOCdepth=3
}}

Gives:


Exploration

Icon activity.jpg

Exploration

Icon activity.jpg
Activity
hi this is an embedded activity with the Exploration Activity



{{Activity2
|Title=Exploration
| Content=Flickr
|TOCdepth=4
}}

Gives:


Exploration

Icon activity.jpg

Exploration

Flickr


Activities Table Template



Icon activity.jpg
Self-guided Activity
Icon activity.jpg
Guided Activity
Icon activity.jpg
Group Activity

Comfortable with the simulation Uncomfortable with the simulation Sharing a computer
Answered the multi-choice question correctly Experienced difficulties with the multi-choice question Working in a Team
Already have a hypothesis Not sure of a hypothesis
Ready for a challenge Ready for small steps



AnswerBox Template

{{AnswerBox |4}} renders as:







{{AnswerBox |3|Title=My Data Table}} renders as:

My Data Table