Template:Ini: Difference between revisions

From 2nd Book
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#vardef x|1}}  
    {{if||x| p | q }} gives " p ". Notice the pair of vertical bars surrounding the empty first parameter.


{{if||x| "hi" | "no" }}
    {{if|expr|2<3| p | q }} gives " p "
    {{if|eq| u |u| p | q }} gives " p "
    {{if|exist| Help:Link | p | q }} gives " p "
    {{if|error|{{#expr:x}}| p | q }} gives " p "

Revision as of 16:29, 21 January 2023

   Template:If gives " p ". Notice the pair of vertical bars surrounding the empty first parameter.
   Template:If gives " p "
   Template:If gives " p "
   Template:If gives " p "
   Template:If gives " p "