Exibir código-fonte para Módulo:Se vazio
Ir para navegação
Ir para pesquisar
Você não possui permissão para editar esta página, pelo seguinte motivo:
Você pode ver e copiar o código desta página.
local p = {}
function p.main(frame)
local args = require('Módulo:Arguments').getArgs(frame, {wrappers = 'Predefinição:Se vazio', removeBlanks = false})
-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,
-- even though there's really no legitimate use case for this. At some point, this will be removed.
local lowestNil = math.huge
for i = 8,1,-1 do
if args[i] == nil then
args[i] = ''
lowestNil = i
end
end
for k,v in ipairs(args) do
if v ~= '' then
if lowestNil < k then
-- If any uses of this template depend on the behavior above, add them to a tracking category.
-- This is a rather fragile, convoluted, hacky way to do it, but it ensures that this module's output won't be modified
-- by it.
000
1:0
Predefinições usadas nesta página:
- Predefinição:Ambox/styles.css (ver código-fonte)
- Predefinição:Ligação para predefinição (ver código-fonte)
- Predefinição:Lp (ver código-fonte)
- Predefinição:Module other (ver código-fonte)
- Predefinição:Module rating (ver código-fonte)
- Predefinição:Ombox (ver código-fonte)
- Predefinição:Testes outro (ver código-fonte)
- Módulo:Arguments (ver código-fonte)
- Módulo:Message box (ver código-fonte)
- Módulo:Message box/configuration (ver código-fonte)
- Módulo:No globals (ver código-fonte)
- Módulo:Se vazio/doc (ver código-fonte)
- Módulo:String (ver código-fonte)
- Módulo:Yesno (ver código-fonte)
Retornar para Módulo:Se vazio.