Module:Entry/metatable: Difference between revisions

oops
No edit summary
(oops)
Line 50: Line 50:
tempoUpSize = tempoUpSize or "72px"
tempoUpSize = tempoUpSize or "72px"
t = mw.ustring.format("%s [[File:TempoUpExtra%s.png|%s|link=%s]]",
t = mw.ustring.format("%s [[File:TempoUpExtra%s.png|%s|link=%s]]",
t, entry.number, tempoUpSize, entry.selfLink and entry.title or "")
t, entry.number, tempoUpSize, entry.selfLink and "" or entry.title)
end
end
return t
return t
Line 103: Line 103:
iconSize = iconSize or entry.defaultIconSize
iconSize = iconSize or entry.defaultIconSize
return mw.ustring.format("[[File:%s|%s|link=%s]]",
return mw.ustring.format("[[File:%s|%s|link=%s]]",
entry.iconName, iconSize, entry.selfLink and entry.title or "")
entry.iconName, iconSize, entry.selfLink and "" or entry.title)
end
end


420

edits