Modelo:If both/uso

Na Galipedia, a Wikipedia en galego.

Obxectivo[editar a fonte]

Marcador de apoio para comparación de dous valores

Uso[editar a fonte]

IF a AND b > true

IF a NOR b > false

IF a OR b > false

Pode utilizarse para substituír a construción: {{#if:a|{{#if:b|true|false}}|false}}

Exemplos[editar a fonte]

{{if both| a | b |true|false}} → true

{{if both| a | |true|false}} → false

{{if both| | b |true|false}} → false

{{if both| | |true|false}} → false

Véxase tamén[editar a fonte]