Template:LocalisedContent: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 31: Line 31:




--><includeonly>{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag|pv}}} | |<!--
--><includeonly>{{#ifeq: {{{1|}}} | |<!--
start printed content
-->{{#ifeq: {{{1|}}} | |<!--
Start localised content box
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;
-->{{#vardefine:localisedcontent|<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-top-left-radius: 10px;
border-bottom-left-radius: 10px;" class=”{{{country}}}”>
border-bottom-left-radius: 10px;" class=”{{{country}}}”>
Line 42: Line 40:
{{{text}}}
{{{text}}}
</div>
</div>
</div><!--
</div>}}<!--
End localised content box
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><!--
start inline content
-->{{#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 printed content
display logic:
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | | -1 }} | {{{tag|pv}}} | |<!--
-->{{#var:localisedcontent}}<!--
-->}}</includeonly>
-->}}</includeonly>

Revision as of 23:28, 6 January 2015

Basic options

OER4Schools Kenya (info)

test

OER4Schools ABC (info)

some text

in line [A]

Some tests with headings

1bcC

ABC1[K]

textA