Anonymous

Template:Local: Difference between revisions

From OER in Education
no edit summary
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:LocalisationTemplates]]
<nowiki>{{</nowiki>Local
{{Local/help}}
|default=default text
|Rwanda=Zambian version
|Kenya=Kenyan version
|Rwanda=Rwandan version
|Sierra Leone=Sierra Leonean version
|Uganda=Ugandan version
}}
Gives
{{Local
|default=default text
|Zambia=Zambian version
|Kenya=Kenyan version
|Rwanda=Rwandan version
|Sierra Leone=Sierra Leonean version
|Uganda=Ugandan version
}}
<!-- The "defaultonly" attribute shows the default text only, which can be useful for images. -->
</noinclude><includeonly><!--
</noinclude><includeonly><!--
-->{{#ifeq: {{#var:islocal}} | yes |<!--
-->{{#ifeq: {{#var:islocal}} | yes |<!--
Line 26: Line 9:
|sl={{{Sierra Leone|{{{default|}}}}}}
|sl={{{Sierra Leone|{{{default|}}}}}}
|ug={{{Uganda|{{{default|}}}}}}
|ug={{{Uganda|{{{default|}}}}}}
|gh={{{Ghana|{{{default|}}}}}}
|#default ={{{default|}}}
|#default ={{{default|}}}
}}<!--
}}<!--
   -->|<!-- else
   -->|<!-- else
   -->{{Generic Country|{{{default|}}}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|X}}}}}{{Uganda|{{{Uganda|X}}}}}<!--
   -->{{#ifeq:{{{defaultonly|}}}|1|<!--
-->}}</includeonly>
          -->{{Generic Country|{{{default|}}}|unmarked=1}}<!--
          -->|<!--
          -->{{#if:{{{default|}}}|{{Generic Country|{{{default|}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Zambia|}}}|{{Zambia|{{{Zambia|...}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Kenya|}}}|{{Kenya|{{{Kenya|...}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Rwanda|}}}|{{Rwanda|{{{Rwanda|...}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Sierra Leone|}}}|{{Sierra Leone|{{{Sierra Leone|...}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Uganda|}}}|{{Uganda|{{{Uganda|...}}}}}}}<!--
                -->{{#if:{{{default|}}}{{{Ghana|}}}|{{Ghana|{{{Ghana|...}}}}}}}<!--
      -->}}<!--
-->}}[[Category:LocalisedPage]]</includeonly>