Template:Local: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 19: Line 19:
<!-- The "defaultonly" attribute shows the default text only, which can be useful for images. -->
<!-- The "defaultonly" attribute shows the default text only, which can be useful for images. -->
</noinclude><includeonly><!--
</noinclude><includeonly><!--
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
-->{{#ifeq: {{#var:islocal}} | yes |<!--
   -->{{#switch: {{#var:localcode}}
   -->{{#switch: {{#var:localcode}}
|zm={{{Zambia|{{{1|}}}}}}
|zm={{{Zambia|{{{1|}}}}}}

Revision as of 20:23, 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]