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 | {{#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 | <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= | border-bottom-left-radius: 10px;" class=”{{{country}}}”> | ||
<div style="padding: 5px; padding-left: 10px; border-bottom: solid 1px | <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}}} |