Modulo:InfoboxImage: Malsamoj inter versioj
[kontrolita revizio] | [kontrolita revizio] |
Enhavo forigita Enhavo aldonita
aktualigo laŭ la proveja modulo |
e la funkcio "i.GetCaption" ankoraŭ faras problemojn ekz. en Ŝablono:Distrikto Rottweil. tial mi forigas ĝian enplekton. mi ankoraŭ devos cerbumi pri ŝanĝo de la funkcio. eble mi ja trovos trukon. |
||
Linio 1:
-- InfoboxImage,
-- Inputs:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
Linio 322:
-- search for thumbnail images and add to tracking cat if found
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]") or mw.ustring.find(image, "|%s*eta%s*[|%]]")) then
▲ return image .. caption .. "[[Kategorio:Paĝoj uzantaj informkestojn kun etaj bildoj]]";
else
▲ return image .. caption
end
elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then
|