Template:LocalisedContent: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 2: Line 2:
{{kenya|text=test}}
{{kenya|text=test}}


{{localisedContent|country=ABC|letter=A|text=some text}}
{{localisedContent
|country=ABC
|letter=A
|text=some text
|colour=green
}}
</noinclude>{{#ifeq:  
</noinclude>{{#ifeq:  
{{#titleparts: {{PAGENAME}} | | -1 }}
{{#titleparts: {{PAGENAME}} | | -1 }}
  | pv | |
  | pv | |
{{#ifeq: {{{text|}}} | | <span style="padding: 1px; border-bottom: solid 2px yellow; border-right: solid 2px yellow;">{{{1|}}}</span><sup><span style="color:yellow;">[[OER4Schools/{{{country}}}|{{{letter}}}]]</span></sup> |
{{#ifeq: {{{text|}}} | | <span style="padding: 1px; border-bottom: solid 2px yellow; border-right: solid 2px {{{colour}}};">{{{1|}}}</span><sup><span style="color:{{{colour}}};">[[OER4Schools/{{{country}}}|{{{letter}}}]]</span></sup> |
<div style="margin:5px 0 20px 20px; border:solid 1px yellow;border-left:solid 10px yellow;background-color:#efefef;overflow:auto;
<div style="margin:5px 0 20px 20px; border:solid 1px yellow;border-left:solid 10px {{{colour}}};background-color:#efefef;overflow:auto;
border-top-left-radius: 10px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;" class=”kenya”>
border-bottom-left-radius: 10px;" class=”{{{country}}}”>
<div style="padding: 5px;  padding-left: 10px;  border-bottom: solid 1px yellow;">'''{{{title|OER4Schools Kenya}}}''' ([[OER4Schools/Kenya|info]])</div>
<div style="padding: 5px;  padding-left: 10px;  border-bottom: solid 1px {{{colour}}};">'''{{{title|OER4Schools {{{country}}}}}}''' ([[OER4Schools/{{{country}}}|info]])</div>
<div style="padding: 10px; padding-left: 10px;">
<div style="padding: 10px; padding-left: 10px;">
{{{text}}}
{{{text}}}

Revision as of 12:23, 22 November 2014

OER4Schools Kenya (info)

test

OER4Schools ABC (info)

some text

[[OER4Schools/{{{country}}}|{{{letter}}}]]