Template:OER4S: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(71 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:sessiontitle|{{{title|{{SUBPAGENAME}}}}}}}{{#vardefine:sessionnumber|{{{session|0}}} }}{{#vardefine:oer4sunit|{{#sub:{{{session|0}}}|0|1}} }}[[title::{{#var:sessiontitle}}| ]][[sessionnumber::{{#var:sessionnumber}}| ]][[oer4s_unit::{{#var:oer4sunit}}| ]]{{Oer4stop}}{{#ifeq:{{#sub: {{{session|0}}}|1|1}}|.|{{#vardefine:sessiontypeformal|Session }}
<!--START Template:OER4S-->{{#vardefine:sessiontitle|{{{title|{{SUBPAGENAME}}}}}}}<!--
|{{#vardefine:sessiontypeformal|Unit&nbsp;}}
-->{{#vardefine:sessionnumber|{{{session|0}}} }}<!--
}}{{#ifeq:{{#sub: {{{session|0}}}|0|1}}|0|{{#vardefine:sessiontypeformal|}}|
-->{{#vardefine:oer4sunit|{{#sub:{{{session|0}}}|0|1}} }}<!--
}}{{DISPLAYTITLE:{{#var:sessiontypeformal}}{{#var:sessionnumber}} - {{#var:sessiontitle}}}}__NUMBEREDHEADINGS__{{PageGroupArray|oer4schap| [[PageGroup::OER4S]] [[PageGroup_OER4S_Version::Facilitator]] | PageGroupWeight_OER4S }}{{sidebarcontents
-->{{#ifeq: {{#sub: {{{session|0}}}|1|1}}|.|{{#vardefine:pagetype|session}}|{{#vardefine:pagetype|unit}}}}<!--
-->[[title::{{#var:sessiontitle}}| ]]<!--
-->[[sessionnumber::{{#var:sessionnumber}}| ]]<!--
-->[[oer4s_unit::{{#var:oer4sunit}}| ]]<!--
-->{{Oer4stop}}<!--
 
Construct displaytitle(prefix):
 
-->{{#vardefine:displaytitleprefix|{{#ifeq: {{#sub: {{{session|0}}}|1|1}}|.|{{#switch: {{#sub: {{{session|0}}}|0|1}}
| 0 = Introduction
| 1 = Session
| 2 = Session
| 3 = Session
| 4 = Session
| 5 = Session
| 6 = Session
| 7 = Appendix
| 8 = Induction session
| #default =
}}&nbsp;}}<!--
-->{{#vardefine:displaytitle|{{Oer4s/titlemaker||{{#var:sessionnumber}}|{{#var:sessiontitle}}}}}}
}}<!--
 
Display displaytitle:
 
-->{{DISPLAYTITLE:{{#var:displaytitleprefix}}{{#var:displaytitle}}|noerror}}<!--
 
 
-->{{#css:
#n-0.3---How-to-use-this-resource { border: 10px solid red !important; }
}}<!--
--><span style="display:none;" class="oer4spageinfo">Title: {{Oer4s/titlemaker||{{#var:sessionnumber}}|{{#var:sessiontitle}} }}<br/>Number: {{#var:sessionnumber}} </span><!--
--> __NUMBEREDHEADINGS__ <!--
-->{{SectionPrefix|{{{session|0}}}.}}<!--
-->{{PageGroupArray|oer4schap| [[PageGroup::OER4S]] [[PageGroup_OER4S_Version::Facilitator]] | PageGroupWeight_OER4S }}<!--
-->{{LHSmenu}}{{sidebarcontents
|unittitle=<div style="float:right; margin-left: 5px;">[[Image:Eness IMG 0785 square.jpg|60px]]</div>
|unittitle=<div style="float:right; margin-left: 5px;">[[Image:Eness IMG 0785 square.jpg|60px]]</div>
The [[OER4Schools]] <br> professional learning resource
The [[OER4Schools]] Professional Learning Resource
|unittoc=
|unittoc=
<div class="showmenu" style="padding-left: 5px;">
{{#widget:OER4SmenuStart}}
<span style="font-size: 1.5em;">Hover to view [[OER4Schools/toc|resource overview]].</span>
or [[OER4Schools/toc|here for menu page]].
<div class="hiddenmenu"><!--{{: OER4Schools/toc }}
{{#widget:OER4SmenuMiddle}}
{{#arrayprint:oer4schap|<br/>|@@@@|<span style="{{#ifeq:{{#sub:{{#titleparts: @@@@| 1 | -1 }}|1|1}}|.|padding-left: 15px;}}">[[@@@@|{{#ifeq:{{#sub:{{#titleparts: @@@@| 1 | -1 }}|1|1}}| |Unit&nbsp;}}{{#titleparts: @@@@| 1 | -1 }}]] </span>}}
{{OER4S/menuitems}}
-->
{{#widget:OER4SmenuEnd}}
{{Oer4s_toc}}
|unittocZIM=[[OER4Schools/toc|Table of contents]].
</div>
</div>
|pagetitle=
|pagetitle=
{{PageGroupPrev|oer4schap|<<<}} {{#var:sessiontitle}} {{PageGroupNext|oer4schap|>>>}}
{{PageGroupPrev|oer4schap|<<<}} {{Oer4s/titlemaker||{{#var:sessionnumber}}|{{#var:sessiontitle}} }} {{PageGroupNext|oer4schap|>>>}}
|pagetoc=__TOC__
|pagetoc=__TOC__
|footer=<div style="padding-left: 5px;">{{pvswitcher}}
|footer=<div style="padding-left: 5px;">{{pvswitcher}}
<br>
<br>
Note: We are currently revising this resource! Units 1 and 2 are now finished, but expect more work in the later units! We expect that the work will be finished later in 2013.
</div>
</div>
|width=400px;
|classes=sidebar-wide
}}<includeonly>[[Category:OER4S CPD]][[Category:CCE]][[Category:Primary]][[Category:Teacher Education]]{{PageGroup|OER4S|{{{session|{{PAGENAME}}}}}}}{{#vardefine:sessiontime|0}}</includeonly><noinclude>
}}<!--
 
This template uses ispv and islocal to set the page group this belongs to (i.e. participant vs. facilitator vs. participant_local, faciliator_local):
-->{{AssignPageTypeSemantic}}<!--
--><includeonly>[[Category:OER4S CPD]][[Category:CCE]][[Category:Primary]][[Category:Teacher Education]]<!--
-->{{PageGroup|OER4S|{{{session|{{PAGENAME}}}}}}}<!--
--><!--
-->{{#vardefine:sessiontime|0}}<!--END Template:OER4S--></includeonly><noinclude>
 
The menu:
 
{{OER4S/menuitems}}
 
Edit: [[Template:OER4S/menuitems]]


The following pages are in the "[[:Category:PageGroupTemplate|PageGroup]]" 'oer4scha':
The following pages are in the "[[:Category:PageGroupTemplate|PageGroup]]" 'oer4scha':
Line 28: Line 73:
{{#arrayprint:oer4schap|<br/>|@@@@|{{#ifeq:{{#sub:{{#titleparts: @@@@| 1 | -1 }}|1|1}}|.|-}} [[@@@@|{{#titleparts: @@@@| 1 | -1 }}]] }}
{{#arrayprint:oer4schap|<br/>|@@@@|{{#ifeq:{{#sub:{{#titleparts: @@@@| 1 | -1 }}|1|1}}|.|-}} [[@@@@|{{#titleparts: @@@@| 1 | -1 }}]] }}


</noinclude>
The following templates are used to make the menu system:
* [[Widget:OER4SmenuStart]]
* [[Widget:OER4SmenuMiddle]]
* [[Widget:OER4SmenuEnd]]
 
</noinclude><noinclude>[[Category:OER4Schools templates]]</noinclude>

Latest revision as of 23:53, 29 March 2015


The menu:

Edit: Template:OER4S/menuitems

The following pages are in the "PageGroup" 'oer4scha':

OER4Schools
More on questioning

The following templates are used to make the menu system: