×
Create a new article
Write your page title here:
We currently have 9 articles on Arcadian Odyssey Extended Universe. Type your article name above or click on one of the titles below and start writing!



Module:If empty: Difference between revisions

Astaryuu (talk | contribs)
Created page with "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"
Tags: Mobile edit Mobile web edit
Astaryuu (talk | contribs)
m 1 revision imported from wikipedia:Module:If_empty
 
(No difference)

Latest revision as of 17:39, 19 December 2024

Documentation for this module may be created at Module:If empty/doc

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