Template:Local: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 8: Line 8:
  |Uganda=Ugandan version
  |Uganda=Ugandan version
  }}
  }}
Gives
{{Local
{{Local
|default text
|default text
|Rwanda=Zambian version
|Zambia=Zambian version
|Kenya=Kenyan version
|Kenya=Kenyan version
|Rwanda=Rwandan version
|Rwanda=Rwandan version
|SierraLeone=Sierra Leonean version
|Sierra Leone=Sierra Leonean version
|Uganda=Ugandan version
|Uganda=Ugandan version
}}
}}
</noinclude><includeonly>}<!--
</noinclude><includeonly><!--
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
   -->{{#switch: {{#var:localcode}}
   -->{{#switch: {{#var:localcode}}
Line 27: Line 28:
}}<!--
}}<!--
   -->|<!-- else
   -->|<!-- else
   -->{{{1|}}}{{Zambia|{{{Kenya|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{SierraLeone|{{{SierraLeone|}}}}}{{Uganda|{{{Uganda|}}}}}<!--
   -->{{{1|}}}{{Zambia|{{{Kenya|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|}}}}}{{Uganda|{{{Uganda|}}}}}<!--
-->}}</includeonly>
-->}}</includeonly>

Revision as of 18:59, 7 January 2015

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

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