OER4Schools/ICT/include: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{SUBPAGENAME}}| ICT |
<includeonly>{{#ifeq: {{SUBPAGENAME}}| ICT |
<div style="margin: 5px; border: solid 1px blue; padding: 3px;">
<div class="noprint" style="margin: 5px; border: solid 1px blue; padding: 3px;">
{{Edit | Edit this section |  {{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}  }},
{{Edit | Edit this section |  {{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}  }},
[[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}/zm|View this section for Zambia]],
[[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}/zm|View this section for Zambia]],
Line 6: Line 6:
</div>
</div>
|
|
<div style="float: right; margin: 5px; border: solid 1px blue;">
<div class="noprint" style="float: right; margin: 5px; border: solid 1px blue;">
([[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}|View this section]])<br>
([[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}|View this section]])<br>
([[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}/zm|... for Zambia]])<br>
([[{{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}/zm|... for Zambia]])<br>

Latest revision as of 12:21, 17 January 2015


This template uses

OER4Schools/ICT/page sessionnumber

to determine the right ICT practice needed for the sessionnumber, and sets

#vardefine:ictpracticesession =  {{:OER4Schools/ICT/page|{{{1|{{#var:sessionnumber}} }}} }}

In OER4Schools/ICT/page you can use {{Local|default=...|Zambia=...|defaultonly=1}} to change which ICT practice is returned by page.

In this template, we should check whether

{{#var:ictpracticesession}}/{{#var:localcode}} 

exists, and if so, use it.