Template:Local: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 20: Line 20:
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
   -->{{#switch: {{#var:localcode}}
   -->{{#switch: {{#var:localcode}}
| zm ={{{Zambia|}}}
|zm={{{Zambia|}}}
| ke ={{{Kenta|}}}
|ke={{{Kenta|}}}
| rw ={{{Rwanda|}}}
|rw={{{Rwanda|}}}
| sl ={{{SierraLeone|}}}
|sl={{{SierraLeone|}}}
| ug ={{{Uganda|}}}
|ug={{{Uganda|}}}
| #default ={{{1|}}}
|#default ={{{1|}}}
}}<!--
}}<!--
   -->|<!-- else
   -->|<!-- else
   -->{{{1|}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|}}}}}{{Uganda|{{{Uganda|}}}}}<!--
   -->{{{1|}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|}}}}}{{Uganda|{{{Uganda|}}}}}<!--
-->}}</includeonly>
-->}}</includeonly>

Revision as of 19:29, 7 January 2015

{{Local
| default text
|Rwanda=Zambian version
|Kenya=Kenyan version
|Rwanda=Rwandan version
|Sierra Leone=Sierra Leonean version
|Uganda=Ugandan version
}}

Gives default text Zambian version[Z]Kenyan version[K]Rwandan version[R]Sierra Leonean version[S]Ugandan version[U]