Template:Local: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 50: Line 50:
   -->|<!-- else
   -->|<!-- else
   -->{{#ifeq:{{{defaultonly|}}}|1|<!--
   -->{{#ifeq:{{{defaultonly|}}}|1|<!--
           -->{{Generic Country|{{{default|}}}}}<!--
           -->{{Generic Country|{{{default|}}}|unmarked=1}}<!--
           -->|<!--
           -->|<!--
           -->{{Generic Country|{{{default|}}}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|X}}}}}{{Uganda|{{{Uganda|X}}}}}<!--
           -->{{Generic Country|{{{default|}}}}}{{Zambia|{{{Zambia|}}}}}{{Kenya|{{{Kenya|}}}}}{{Rwanda|{{{Rwanda|}}}}}{{Sierra Leone|{{{Sierra Leone|X}}}}}{{Uganda|{{{Uganda|X}}}}}<!--
       -->}}<!--
       -->}}<!--
-->}}</includeonly>
-->}}</includeonly>

Revision as of 21:15, 7 January 2015

{{Local
|default=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] And

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

Gives default text