Template:Ini: Difference between revisions

From 2nd Book
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{if||x| p | q }}  
    {{#if:x| p | q }} gives "p"
 
    {{#ifexpr:2<3| p | q }} gives "p"
{{if|expr|2<3| p | q }} gives " p "
    {{#ifeq: u |u| p | q }} gives "p"
{{if|eq| u |u| p | q }} gives " p "
    {{#ifexist: Help:Link | p | q }} gives "p"
{{if|exist| Help:Link | p | q }} gives " p "
    {{#iferror:{{#expr:x}}| p | q }} gives "p"
{{if|error|{{#expr:x}}| p | q }} gives " p "

Revision as of 16:30, 21 January 2023

   p gives "p"
   p gives "p"
   p gives "p"
   q gives "p"
   p gives "p"