Jump to content

Template:Eq

From Meta, a Wikimedia project coordination wiki
Template documentation


This template compare two parameters without Extension:ParserFunctions. It uses Template:vv@ containing "{{{{{{@}}}|}}}".

Usage

[edit]

{{eq|p|q}}

Examples

[edit]
Code Result
{{Eq|p|p}} 1
{{Eq|p|q}} <null>
{{Eq|1|2}} <null>
{{Eq|2|2}} 1
{{Eq|p|}} <null>
{{Eq||p}} <null>
{{Eq||}} 1
{{Eq|p}} <null>
{{Eq|}} <null>
/{{for|call=eq|sep=/|pc1=2=5|1|2|3|4|5|6|7}}/ /11111/
/{{for|call=eq|sep=/|pc1=2=abc|abc|def|ghi}}/ /abc/

See also

[edit]