Difference between revisions of "Template:Booleq/doc"

From ISFDB
Jump to navigation Jump to search
(New page: {{tl|booleq}} uses {{tl|booleq/eq2}}. It determines whether parameters 1 and 2 are equal, where equality gives 1, and inequality gives the empty string. === Examples === <code><nowiki>...)
 
(No difference)

Latest revision as of 02:27, 22 October 2008

{{booleq}}

uses {{booleq/eq2}}.

It determines whether parameters 1 and 2 are equal, where equality gives 1, and inequality gives the empty string.

Examples

{{booleq|a|a}} should give {{booleq/eq2|a=1|@=a}} which gives 1

{{booleq|a|b}} should give {{booleq/eq2|a=1|@=b}} which gives

{{booleq|a|2}} gives

{{booleq|2|2}} gives 1

{{qif|test={{booleq|foo|foo}}|then=true|else=false}} gives true

{{qif|test={{booleq|foo|bar}}|then=true|else=false}} gives false

See also