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 1: Line 1:
== #IF parser function ==  
== #IF parser function ==  


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


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

Revision as of 20:02, 5 May 2023

#IF parser function

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

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


>> Main Page