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 2: Line 2:


<nowiki>{{#show:Albania/OER| ?Has capital|link=none}}</nowiki> yields {{#show:Albania/OER| ?Has capital|link=none}}
<nowiki>{{#show:Albania/OER| ?Has capital|link=none}}</nowiki> yields {{#show:Albania/OER| ?Has capital|link=none}}
<nowiki>{{#show:Hungary | ?In OECD}}</nowiki> yields "{{#show:Hungary | ?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:04, 5 May 2023

#IF parser function

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

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

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


>> Main Page