Template:Local: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<nowiki>{{</nowiki>Local | <nowiki>{{</nowiki>Local | ||
| default text | |default=default text | ||
|Rwanda=Zambian version | |Rwanda=Zambian version | ||
|Kenya=Kenyan version | |Kenya=Kenyan version | ||
Line 10: | Line 10: | ||
Gives | Gives | ||
{{Local | {{Local | ||
|default text|Zambia=Zambian version | |default=default text | ||
|Zambia=Zambian version | |||
|Kenya=Kenyan version | |Kenya=Kenyan version | ||
|Rwanda=Rwandan version | |Rwanda=Rwandan version | ||
Line 20: | Line 21: | ||
-->{{#ifeq: {{#var:islocal}} | yes |<!-- | -->{{#ifeq: {{#var:islocal}} | yes |<!-- | ||
-->{{#switch: {{#var:localcode}} | -->{{#switch: {{#var:localcode}} | ||
|zm={{{Zambia|{{{ | |zm={{{Zambia|{{{default|}}}}}} | ||
|ke={{{Kenya|{{{ | |ke={{{Kenya|{{{default|}}}}}} | ||
|rw={{{Rwanda|{{{ | |rw={{{Rwanda|{{{default|}}}}}} | ||
|sl={{{Sierra Leone|{{{ | |sl={{{Sierra Leone|{{{default|}}}}}} | ||
|ug={{{Uganda|{{{ | |ug={{{Uganda|{{{default|}}}}}} | ||
|#default ={{{ | |#default ={{{default|}}} | ||
}}<!-- | }}<!-- | ||
-->|<!-- else | -->|<!-- else | ||
-->{{GenericCountry|{{{ | -->{{GenericCountry|{{{default|}}}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|X}}}}}{{Uganda|{{{Uganda|X}}}}}<!-- | ||
-->}}</includeonly> | -->}}</includeonly> |