Template talk:LocalisedContent: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= {{kenya|123}} =
= {{kenya|123}} =
= Old version =
{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag|pv}}} | |<!--
start printed content
-->{{#ifeq: {{{1|}}} | |<!--
Start localised content box
--><div style="margin:5px 0 20px 20px; border:solid 1px {{{colour}}};border-left:solid 10px {{{colour}}};background-color:#efefef;overflow:auto;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;" class=”{{{country}}}”>
<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;">
{{{text}}}
</div>
</div><!--
End localised content box
-->|<!--
--><span style="padding: 1px; border-bottom: solid 2px {{{colour|black}}}; border-right: solid 2px {{{colour|black}}};">{{{1}}}</span><sup><span style="color:{{{colour|black}}};">[[OER4Schools/{{{country|country}}}|<nowiki>[</nowiki>{{{letter|letter}}}<nowiki>]</nowiki>]]</span></sup><!--
-->}}<!--
end printed content
-->}}
= Old version: Display logic, based on PAGENAME-2=OER4Schools =
<!--
display logic:
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | -2 }} | OER4Schools |<!--
  -->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag}}} |<!--
    -->{{#var:localisedcontentUNMARKED}}<!--
    -->|<!--else nothing
  -->}}|<!--
else
  -->{{#var:localisedcontent}}<!--
-->}}
= Old version =
<!--
display logic:
-->{{#ifeq: {{#varexists:includeparent}} | 1 |<!--
  -->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag}}} |<!--
    -->{{#var:localisedcontentUNMARKED}}<!--
  -->|<!--else
    -->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | pv | {{#var:localisedcontent}} |<!--else: nothing-->}}<!--
  -->}}<!--
-->|<!-- else
  -->{{#var:localisedcontent}}<!--
-->}}

Latest revision as of 19:59, 7 January 2015

123[K]

Old version

OER4Schools {{{country}}} ([[OER4Schools/{{{country}}}|info]])

{{{text}}}

Old version: Display logic, based on PAGENAME-2=OER4Schools

123[K]

Old version

123[K]