Moduł:Lista licencji
Z Nonsensopedii, polskiej encyklopedii humoru
--[[
WSZYSTKIE MOŻLIWE METADANE
* licensetpl_short - krótka nazwa licencji
* licensetpl_long - długa nazwa licencji
* licensetpl_attr_req - czy wymagana jest atrybucja
* licensetpl_attr - tekst atrybucji, ustawiany dynamicznie jako parametr do szablonu licencji
* licensetpl_link_req - czy wymagany jest link do tekstu licencji
* licensetpl_link - link do tekstu licencji
* licensetpl_nonfree - czy licencja jest niewolna
--]]
local ret =
{
--
-- WOLNE LICENCJE
--
["Beerware"] =
{
metadata =
{
licensetpl_short = "Beerware",
licensetpl_long = "Beerware",
licensetpl_attr_req = "false",
licensetpl_link_req = "false",
licensetpl_nonfree = "false"
}
},
["CC0 1.0"] =
{
metadata =
{
licensetpl_short = "CC0 1.0",
licensetpl_long = "Creative Commons CC0 1.0 Uniwersalna Licencja Domeny Publicznej",
licensetpl_attr_req = "false",
licensetpl_link_req = "false",
licensetpl_nonfree = "false"
}
},
["Copyright z wolnym użyciem, pod warunkiem, że..."] =
{
metadata =
{
licensetpl_short = "Copyright z wolnym użyciem, pod warunkiem, że...",
licensetpl_long = "Copyright z wolnym użyciem, pod warunkiem, że...",
licensetpl_attr_req = "false",
licensetpl_link_req = "false",
licensetpl_nonfree = "false"
}
},
["Free Art License 1.3"] =
{
metadata =
{
licensetpl_short = "FAL 1.3",
licensetpl_long = "Free Art License 1.3",
licensetpl_attr_req = "true",
licensetpl_link_req = "true",
licensetpl_link = "http://artlibre.org/licence/lal/pl/",
licensetpl_nonfree = "false"
}
},
["Free-screenshot"] =
{
metadata =
{
licensetpl_short = "Free-screenshot",
licensetpl_long = "Free-screenshot",
licensetpl_attr_req = "false",
licensetpl_link_req = "false",
licensetpl_nonfree = "false"
}
},
["GFDL"] =
{
metadata =
{
licensetpl_short = "GFDL",
licensetpl_long = "GNU Free Documentation License",
licensetpl_attr_req = "true",
licensetpl_link_req = "true",
licensetpl_link = "http://www.gnu.org/licenses/fdl-1.3.html",
licensetpl_nonfree = "false"
}
},
--
-- NIEWOLNE LICENCJE
--
["Copyright"] =
{
metadata =
{
licensetpl_short = "Copyright",
licensetpl_long = "Copyright",
licensetpl_attr_req = "true",
licensetpl_link_req = "false",
licensetpl_nonfree = "true"
}
}
}
-- zamiana kluczy na duże litery
local newRet = {}
for licname, value in pairs(ret) do
newRet[licname:upper()] = value
end
return newRet