Template:LocalisedContent: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
-->{{#vardefine:localisedcontent|<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>}}<!-- | -->{{#vardefine:localisedcontent|<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 inline content | end inline content | ||
-->}} {{#titleparts: {{PAGENAME}} | -->}} {{#titleparts: {{PAGENAME}} | -2 }} {{#titleparts: {{PAGENAME}} | | -1 }}<!-- | ||
display logic: | display logic: | ||
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | -->{{#ifeq: {{#titleparts: {{PAGENAME}} | -2 }} | OER4Schools |<!-- | ||
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag}}} |<!-- | -->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag}}} |<!-- | ||
-->{{#var:localisedcontent}}<!-- | -->{{#var:localisedcontent}}<!-- |