Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 271: | Line 271: | ||
--- Adds a row, with columns up to 30 columns spanned |
--- Adds a row, with columns up to 30 columns spanned |
||
-- @param ... { { tag, content, attr, colspan, rowspan, css }, ... } |
-- @param ... { { tag, content, hide, attr, colspan, rowspan, css }, ... } |
||
-- tag "th", "td", "argth", "argtd" |
|||
-- content string |
|||
-- attr {...} or nil |
|||
-- colspan number or nil |
|||
-- rowspan number or nil |
|||
-- css {...} or nil |
|||
-- @return self |
-- @return self |
||
-- The current object |
-- The current object |
||
Line 315: | Line 321: | ||
function InfoboxBuilder:tostring() |
function InfoboxBuilder:tostring() |
||
return tostring(self.infobox) |
return tostring(self.infobox) .. |
||
string.format("[[%s?action=edit|E]]", self.name) |
|||
end |
end |
||