Changes
Jump to navigation
Jump to search
local args = { class="citation " .. (config.CitationClass or ""), id=id } text = mw.text.tag({name="span", contents=text, params=args});
Add a span wrapper even when there is no Ref parameter, to match previous template
end
-- Now enclose the whole thing in a <span/> element if it is cross-linked from elsewhere.
if ( Year == nil ) then Year = "" end
local args = { class="citation " .. (config.CitationClass or "") }
if ( Ref ~= nil ) then
local id = Ref
id = anchorid(names)
end
end
text = mw.text.tag({name="span", contents=text, params=args})
local OCinS = mw.text.tag({name="span", contents=" ", params={class="Z3988",title=OCinStitle,style="display: none;"}})
--20Oct2012 ?
--20Oct2012 ?
--05Nov2012 Add a span wrapper even when there is no Ref parameter
--
--End