Diferencia entre revisiones de «Módulo:Ficha»
Arreglando error en el que no se da el nombre de la página correctamente al crear elementos sobre anexos |
Cambios sugeridos por Leoncastro para limitar el tamaño máximo de las imágnees. https://es.wikipedia.org/w/index.php?title=Wikipedia:Tabl%C3%B3n_de_anuncios_de_los_bibliotecarios/Portal/Archivo/Miscel%C3%A1nea/Actual&diff=144404519&oldid=144404464 |
||
| Línea 163: | Línea 163: | ||
.tag('td') | .tag('td') | ||
.attr('colspan', '3') | .attr('colspan', '3') | ||
.addClass(args.claseimageninferior) | .addClass('imagen ' .. args.claseimageninferior) | ||
.css('text-align', 'center') | .css('text-align', 'center') | ||
.cssText(args.estiloimageninferior) | .cssText(args.estiloimageninferior) | ||
| Línea 194: | Línea 194: | ||
.tag('td') | .tag('td') | ||
.attr('colspan', '3') | .attr('colspan', '3') | ||
.addClass(args.claseimagensuperior) | .addClass('imagen ' .. args.claseimagensuperior) | ||
.css('text-align', 'center') | .css('text-align', 'center') | ||
.cssText(args.estiloimagensuperior) | .cssText(args.estiloimagensuperior) | ||
| Línea 377: | Línea 377: | ||
datos = tostring(datos), | datos = tostring(datos), | ||
estilodatos = args.estiloimagen, | estilodatos = args.estiloimagen, | ||
clase = args.claseimagen, | clase = 'imagen ' .. args.claseimagen, | ||
clasefila = args['claseimagen' .. num] | clasefila = args['claseimagen' .. num] | ||
}) | }) | ||
| Línea 639: | Línea 639: | ||
hacerCategoriasSeguimiento() | hacerCategoriasSeguimiento() | ||
return tostring(root) | return marco:extensionTag{ name = 'templatestyles', args = { src = 'Plantilla:Ficha/imagelimit.css' } } .. tostring(root) | ||
end | end | ||
local function touchParameters(prefixTable, origArgs, step) | local function touchParameters(prefixTable, origArgs, step) | ||