Template:Ini: Difference between revisions

From 2nd Book
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
     {{if||x| p | q }} gives " p ". Notice the pair of vertical bars surrounding the empty first parameter.
     {{#if:|| 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 "

Latest revision as of 16:32, 21 January 2023

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