साचा:Ifexpr
Appearance
वापर
[संपादन]{{ifexpr|2<3| p | q }}
देते " p "{{ifexpr|2>3| p | q }}
देते " q "{{ifexpr|2{{=}}3| p | q }}
देते" q "{{ifexpr||1=2=3| p | q }}
देते " q "
तुलना करा:
{{#ifexpr:2<3| p | q }}
देते "p"
Note that, unlike parser functions, templates require writing equals signs in values of unnamed parameters as {{=}}
If the condition contains a parser function, template, or variable, that should be substituted too. Optionally the "then" or "else" part can also be substituted.
त्रुटी संदेश (उदाहरणे):
{{ifexpr|1234>e3|1|0}}
देते साचा:If/errmsg{{#ifexpr:1234>e3|1|0}}
देते एक्स्प्रेशन त्रुटी: अनपेक्षित क्रमांक