Template:LocalisedContent: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
}} | }} | ||
{{localisedContent | |||
| | |||
|country=ABC | |||
|letter=A | |||
|colour=green | |||
|tag=ke | |||
|unmarked=1 | |||
}} | |||
= Some tests with headings = | = Some tests with headings = | ||
Line 75: | Line 83: | ||
display logic: | display logic: | ||
-->{{#ifeq: {{#var:islocal}} | yes |<!-- | -->{{#ifeq: {{#var:islocal}} | yes |<!-- | ||
-->{{#ifeq: {{#var:localcode}} | {{{tag}}} |<!-- -->{{#var:localisedcontentUNMARKED}}<!-- -->}}<!-- | -->{{#ifeq: {{#var:localcode}} | {{{tag}}} |<!-- -->{{#var:localisedcontentUNMARKED}}<!-- -->|<!--nothing-->}}<!-- | ||
-->|<!-- else | -->|<!-- else | ||
-->{{#var:localisedcontent}}<!-- | -->{{#ifeq:{{{unmarked|}}}|1|<!-- -->{{#var:localisedcontentUNMARKED}}<!-- -->|<!-- -->{{#var:localisedcontent}}<!-- -->}}<!-- | ||
-->}}</includeonly> | -->}}</includeonly> |