Mal:Both/dok

Bruk

{{both|string1|string2}}

Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).

Eksempler

KodeResultat
{{#if:{{both|A|A}}|Ja|Nei}}:Ja
{{#if:{{both||A}}|Ja|Nei}}:Nei
{{#if:{{both|A|}}|Ja|Nei}}:Nei
{{#if:{{both||}}|Ja|Nei}}:Nei