Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 318: | Line 318: | ||
:css('width', 'calc(100% / 30)') |
:css('width', 'calc(100% / 30)') |
||
end |
end |
||
end |
|||
function InfoboxBuilder:addLinks() |
|||
local links = { |
|||
"[[Template:%s|View]]", |
|||
"[[Template talk:%s|Talk]]" |
|||
} |
|||
self:addHeader{ |
|||
⚫ | |||
"*" .. |
|||
string.format(links[2], self.name) |
|||
} |
|||
end |
end |
||
function InfoboxBuilder:tostring() |
function InfoboxBuilder:tostring() |
||
return tostring(self.infobox) |
return tostring(self.infobox) |
||
⚫ | |||
end |
end |
||