Mal:Both: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
m (Fjerner feilinfo, denne malen er ikke beskyttet) |
m (Én sideversjon ble importert) |
(Ingen forskjell)
|
Sideversjonen fra 22. feb. 2024 kl. 15:38
Maldokumentasjon
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
Kode | Resultat |
---|---|
{{#if:{{both|A|A}}|Ja|Nei}} :
|
Ja |
{{#if:{{both||A}}|Ja|Nei}} :
|
Nei |
{{#if:{{both|A|}}|Ja|Nei}} :
|
Nei |
{{#if:{{both||}}|Ja|Nei}} :
|
Nei |