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|{{{1|}}}}}}
|ke={{{Kenya|}}}
|ke={{{Kenya|{{{1|}}}}}}
|rw={{{Rwanda|}}}
|rw={{{Rwanda|{{{1|}}}}}}
|sl={{{Sierra Leone|}}}
|sl={{{Sierra Leone|{{{1|}}}}}}
|ug={{{Uganda|}}}
|ug={{{Uganda|{{{1|}}}}}}
|#default ={{{1|}}}
|#default ={{{1|}}}
}}<!--
}}<!--

Revision as of 19:37, 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]