Type a search term to find related articles by LIMS subject matter experts gathered from the most trusted and dynamic collaboration tools in the laboratory informatics industry.
Recolle unha serie de parámetros e devolve o primeiro que estea definido e non sexa baleiro. Se non atopa ningún non devolve ningún valor. Admite calquera número de parámetros.
{{If empty |{{{parámetro1|}}} |{{{parámetro2|}}} |{{{parámetro3|}}} |default.svg}}
Código | Resultado |
{{if empty}} | |
{{if empty|one}} | one |
{{if empty|one|two}} | one |
{{if empty|one|two|three|four}} | one |
{{if empty||two}} | two |
{{if empty||two|three|four}} | two |
{{if empty||two||four}} | two |
{{if empty||||||||||ten}} | ten |
{{if empty|}} | |
{{if empty||||}} | |
{{if empty|{{{1|}}}|{{{2|}}}|three}} | three |
{{if empty|{{{1}}}|{{{2}}}|three}} | {{{1}}} |
{{if empty|{{{logo|}}}|two}} | two |
{{if empty|{{{logo}}}|two}} | {{{logo}}} |
{{if empty|p=q}} |