Diferencia entre revisiones de «Módulo:Ficha de selecciones deportivas»
Contenido eliminado Contenido añadido
mSin resumen de edición |
Falta un 'find' en todas estas posiciones, por lo que el resto del código no se está ejecutando |
||
Línea 30:
function obtenerPRI(frame)
if
frame:getParent():getTitle():find('Plantilla:Ficha de equipo de tenis') then
return nil
end
Línea 80:
function obtenerMRI(frame)
if
frame:getParent():getTitle():find('Plantilla:Ficha de equipo de tenis') then▼
end▼
if frame:getParent():getTitle():find('Plantilla:Ficha de selección de polo') or ▼
▲ frame:getParent():getTitle('Plantilla:Ficha de equipo de tenis') then
return nil
end
Línea 117 ⟶ 114:
end
local mvaux = ''
if frame:getParent():getTitle() == 'Plantilla:Ficha de selección de baloncesto' then
mvaux = '[[Selección femenina de baloncesto de '..argumento{'MV'}..'|'..argumento{'MV'}..']]'
end▼
if frame:getParent():getTitle()=='Plantilla:Ficha de selección de rugby' then▼
mvaux = '[[Selección de rugby de '..argumento{'MV'}..'|'..argumento{'MV'}..']]'▼
if argumento{'femenino'} == 'si' then▼
mvaux = '[[Selección femenina de rugby de '..argumento{'MV'}..'|'..argumento{'MV'}..']]'▼
end
▲ mvaux = '[[Selección femenina de rugby de '..argumento{'MV'}..'|'..argumento{'MV'}..']]'
end
return safeText(argumento{'Nombre'}).." '''"..safeText(argumento{'MV Marcador'}).."''' "..mvaux..
Línea 138 ⟶ 135:
end
local mvaux = ''
if frame:getParent():getTitle() == 'Plantilla:Ficha de selección de baloncesto' then
mvaux = '[[Selección femenina de baloncesto de '..argumento{'PD'}..'|'..argumento{'PD'}..']]'
mvaux = '[[Selección de rugby de '..argumento{'PD'}..'|'..argumento{'PD'}..']]'▼
if argumento{'femenino'} == 'si' then▼
mvaux = '[[Selección femenina de rugby de '..argumento{'PD'}..'|'..argumento{'PD'}..']]'▼
end
▲ if frame:getParent():getTitle() == 'Plantilla:Ficha de selección de rugby' then
▲ mvaux = '[[Selección femenina de rugby de '..argumento{'PD'}..'|'..argumento{'PD'}..']]'
end
return safeText(argumento{'Nombre'}).." '''"..safeText(argumento{'PD Marcador'}).."''' "..mvaux..
Línea 155 ⟶ 152:
function obtenerUPI(frame)
if
return nil
if argumento{'UPI'} == nil and
( argumento{'UPI país1'} == nil or
Línea 182 ⟶ 179:
function obtenerPPI(frame)
if
frame:getParent():getTitle():find('Plantilla:Ficha de equipo de tenis') then
return nil
end
Línea 239 ⟶ 236:
return helperParticipaciones( argumento{'participación regional3'}, argumento{'primer regional3'} )
elseif arg == 'participación confederaciones' then
return helperParticipaciones( argumento{'participación confederaciones'}, argumento{'primer confederaciones'} )
elseif arg == 'participación olímpico' or arg == 'torneo olímpico' then
|