Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 383:
_cell:wikitext(v.content)
elseif v.tag == 'argth' or v.tag == 'argtd' then
local content = self:getContent(v.content)
_cell:wikitext(
self:getContent(v.if content) then
_cell:wikitext(content)
or
else
string.format([[
_cell:tag('a')
<span class="plainlinks">
:attr('href',
[%s?action=edit Edit this page]
string.format([["%s?action=edit",
</span>
tostring(mw.uri.fullUrl(mw.title.getCurrentTitle().text))
]],
or )
tostring(mw.uri.fullUrl(mw.title.getCurrentTitle().text))
)
:wikitext('?')
end
end
end
439

edits