Anonymous

Template talk:LocalisedContent: Difference between revisions

From OER in Education
no edit summary
No edit summary
No edit summary
 
Line 30: Line 30:
   -->}}|<!--
   -->}}|<!--
else
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}}<!--
   -->{{#var:localisedcontent}}<!--
-->}}
-->}}