Welcome to the Virtual Education Wiki ~ Open Education Wiki

Test if: Difference between revisions

From Virtual Education Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<nowiki>{{#show:Hungary | ?In OECD}}</nowiki> yields "{{#show:Hungary | ?In OECD}}"
<nowiki>{{#show:Hungary | ?In OECD}}</nowiki> yields "{{#show:Hungary | ?In OECD}}"


<nowiki>{{#show:Slovakia| ?In OECD}}</nowiki> yields "{{#show:Slovakia| ?In OECD}}"
<nowiki>{{#show:Brazil| ?In OECD}}</nowiki> yields "{{#show:Brazil| ?In OECD}}"


<nowiki>{{#if:| yes | no}}</nowiki> yields {{#if:string| yes | no}}
<nowiki>{{#if:| yes | no}}</nowiki> yields {{#if:string| yes | no}}

Revision as of 20:05, 5 May 2023

#IF parser function

{{#show:Albania/OER| ?Has capital|link=none}} yields Tirana

{{#show:Hungary | ?In OECD}} yields "true"

{{#show:Brazil| ?In OECD}} yields ""

{{#if:| yes | no}} yields yes


>> Main Page