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


<nowiki>{{#if:{{#show:Brazil| ?In OECD}}| yes | no}}</nowiki> yields "{{#if:{{#show:Brazil| ?In OECD}}| yes | no}}"
<nowiki>{{#if:{{#show:Brazil| ?In OECD}}| yes | no}}</nowiki> yields "{{#if:{{#show:Brazil| ?In OECD}}| yes | no}}"
<nowiki>{{#if:{{#show:France| ?In OECD}}| yes | no}}</nowiki> yields "{{#if:{{#show:France| ?In OECD}}| yes | no}}"


Thus:
Thus:

Revision as of 20:10, 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:string | yes | no}} yields "yes"

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

{{#if:{{#show:France| ?In OECD}}| yes | no}} yields "yes"

Thus:




>> Main Page