Modulo:Sandbox/Gpmat/test2: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
mNessun oggetto della modifica
Riga 253:
function p.legenda(frame)
local args = getArgs(frame, {wrappers = 'Utente:Gpmat/sandbox1','Utente:Gpmat/sandbox2','Utente:Gpmat/sandbox'})
iflocal dim = args["sizedim"] thenor 85
size = args["size"]
else size = 85
end
if args["LEG"] == "1" then
return "{| class=\"wikitable\" style=\"text-align:center; width: 100%; font-size:" .. sizedim .. "%; margin-top: 0em; margin-bottom: 0em; padding:0\"\n|-\n|rowspan=2 width=10%|'''Legenda'''||style=\"background-color:#ffffbf;width:15%\"|1º posto||style=\"background-color:#dfdfdf;width:15%\"|2º posto||style=\"background-color:#ffdf9f;width:15%\"|3º posto||style=\"background-color:#dfffdf;width:15%\"|A punti||style=\"background-color:#cfcfff;width:15%\"|Senza punti/Non class.||rowspan=2 style=\"background-color:#ffffff;width:15%\"|'''Grassetto''' – Pole position<br/>''Corsivo'' – Giro più veloce\n|-\n|style=\"background-color:#000000; color:white\"|Squalificato||style=\"background-color:#efcfff\"|Ritirato||style=\"background-color:#FFFFFF\"|Non partito||style=\"background-color:#EFCFCF\"|Non qualificato||style=\"background-color:#f0ffff\"|Solo prove/Terzo pilota\n|}"
end