Template talk:LocalisedContent: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
-->}}<!--
-->}}<!--
end printed content  
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]