Exibir código-fonte para Módulo:Collapsible list
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.
-- This module implements {{collapsible list}}.
local p = {}
local function getListItem( data )
if not type( data ) == 'string' then
return ''
end
return mw.ustring.format( '<li style="line-height: inherit; margin: 0">%s</li>', data )
end
-- Returns an array containing the keys of all positional arguments
-- that contain data (i.e. non-whitespace values).
local function getArgNums( args )
local nums = {}
for k, v in pairs( args ) do
if type( k ) == 'number' and
k >= 1 and
math.floor( k ) == k and
type( v ) == 'string' and
mw.ustring.match( v, '%S' ) then
000
1:0
Predefinições usadas nesta página:
- Predefinição:Ambox/styles.css (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)
- Módulo:Arguments (ver código-fonte)
- Módulo:Collapsible list/doc (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:String (ver código-fonte)
- Módulo:Yesno (ver código-fonte)
Retornar para Módulo:Collapsible list.