בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,358
רעדאגירונגען
ק (1 רעוויזיע אימפארטירט פון wikipedia:he:יחידה:תבנית_מידע) |
(כ'ווייס וואס כ'טו?..) צייכן: צוריקגעשטעלט |
||
| שורה 120: | שורה 120: | ||
end | end | ||
-- render the main image | -- render the main image | ||
if | if args.image then | ||
args.image1 = args.image | |||
end | |||
if args.caption then | |||
args.caption1 = args.caption | |||
end | |||
if | local imagenums = getArgNums('image') | ||
for k, num in ipairs(imagenums) do | |||
local caption = args['caption' .. tostring(num)] | |||
local data = mw.html.create():wikitext(args['image' .. tostring(num)]) | |||
if caption then | |||
data | |||
:tag('div') | |||
:addClass('infobox-caption') | |||
-- @deprecated next; target .infobox-<name> .infobox-caption | |||
:cssText(args.captionstyle) | |||
:wikitext(caption) | |||
end | end | ||
addImageRow({ | |||
data = tostring(data), | |||
-- @deprecated next; target .infobox-<name> .infobox-image | |||
datastyle = args.imagestyle, | |||
class = args.imageclass, | |||
rowclass = args['imagerowclass' .. tostring(num)] | |||
}) | |||
end | end | ||
end | end | ||
רעדאגירונגען