Module:File license: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 68: Line 68:
end
end
licenseText = frame:preprocess(licenseData[license][10]) .. licenseText  .. " " .. frame:preprocess(licenseData[license][3])
licenseText = frame:preprocess(licenseData[license][10]) .. licenseText  .. " " .. frame:preprocess(licenseData[license][3])
licenseMachinedata = '<span class="licensetpl"><span class="licensetpl_short">' .. licenseData[license][4] .. '</span><span class="licensetpl_long">' .. licenseData[license][5] .. '</span><span class="licensetpl_link">' .. frame:preprocess("<nowiki>" .. licenseData[license][6] .. "</nowiki>") .. '</span><span class="licensetpl_link_req">' .. licenseData[license][7] .. '</span><span class="licensetpl_attr_req">' .. licenseData[license][8] .. '</span><span class="licensetpl_attr">' .. copyrightHolderText .. '</span><span class="licensetpl_nonfree">' .. licenseData[license][9] .. '</span></span>'
local attributionText = copyrightHolderText
if attributionText == "" then
attributionText = trademarkOwner
end
licenseMachinedata = '<span class="licensetpl"><span class="licensetpl_short">' .. licenseData[license][4] .. '</span><span class="licensetpl_long">' .. licenseData[license][5] .. '</span><span class="licensetpl_link">' .. frame:preprocess("<nowiki>" .. licenseData[license][6] .. "</nowiki>") .. '</span><span class="licensetpl_link_req">' .. licenseData[license][7] .. '</span><span class="licensetpl_attr_req">' .. licenseData[license][8] .. '</span><span class="licensetpl_attr">' .. attributionText .. '</span><span class="licensetpl_nonfree">' .. licenseData[license][9] .. '</span></span>'
end
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.