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:Hungary/OER| ?Has capital}}</nowiki> yields {{show:Hungary/OER| ?Has capital}}
<nowiki>{{#show:Hungary/OER| ?Has capital}}</nowiki> yields {{#show:Hungary/OER| ?Has capital}}


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

Revision as of 19:59, 5 May 2023

#IF parser function

{{#show:Hungary/OER| ?Has capital}} yields Budapest

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


>> Main Page