Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Module:If empty






Afrikaans
ak:Module:If empty
Anarâškielâ
العربية
Asturianu
Авар
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Basa Banyumasan
Беларуская (тарашкевіца)

Bikol Central
Български
Bosanski
Català
Чӑвашла
Čeština
Chavacano de Zamboanga
Chi-Chewa
ChiShona
Corsu
Cymraeg
Dagbanli
Dansk
الدارجة
Eesti
Ελληνικά
Español
Esperanto
Euskara
فارسی
Fiji Hindi
Føroyskt
Gaeilge
Gaelg
Galego
ГӀалгӀай

  / Gõychi Konknni
/Hak-kâ-ngî
Хальмг

Hausa
Hawaiʻi
Հայերեն
ि
Bahasa Hulontalo
Igbo
Ilokano
Bahasa Indonesia
IsiXhosa
Íslenska
Jawa

Қазақша
Kongo
Kurdî
Ladin

Latgaļu
Latviešu
Lëtzebuergesch
Lietuvių
Luganda
Magyar
Madhurâ
ि
Македонски

Malti
Māori

مصرى

Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ
Монгол

Na Vosa Vakaviti
Nederlands


Нохчийн
Norfuk / Pitkern
Norsk bokmål
Norsk nynorsk
Occitan
ି
Oʻzbekcha / ўзбекча

Pangasinan

Papiamentu
پښتو
Português
Qaraqalpaqsha
Română
Русиньскый
Русский
Sakizaya
Gagana Samoa
Scots
Setswana
Shqip

Simple English
سنڌي
Slovenščina
Soomaaliga
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Suomi
Tagalog
ி
Taqbaylit
 


Тоҷикӣ

Türkçe
Удмурт
Українська
اردو
Vèneto
Tiếng Vit
Wayuunaiki

Winaray



 

Edit links
 









Module
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Meta-Wiki
Wikispecies
Wikidata
Wikifunctions
Wikiquote
Wikisource
Wikiversity
Wikivoyage
Wiktionary
 
















Appearance
   

 





Permanently protected module

From Wikipedia, the free encyclopedia
 


This module supports Template:If empty. See here for test cases.

local p = {}

function p.main(frame)
 local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})

 for k,v in ipairs(args) do
  if v ~= '' then
   return v
  end
 end

end

return p

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:If_empty&oldid=1135762364"

Category: 
Modules subject to page protection
Hidden category: 
Wikipedia fully protected modules
 



This page was last edited on 26 January 2023, at 18:33 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki