Moduł:Lista licencji: Różnice pomiędzy wersjami
Z Nonsensopedii, polskiej encyklopedii humoru
M |
(międzyzapis) |
||
Linia 1: | Linia 1: | ||
--[[ |
|||
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 = |
local ret = |
||
{ |
{ |
||
-- |
|||
["CC-BY-SA-3.0"] = |
|||
-- WOLNE LICENCJE |
|||
-- |
|||
["Beerware"] = |
|||
{ |
{ |
||
metadata = |
metadata = |
||
{ |
{ |
||
licensetpl_short = " |
licensetpl_short = "Beerware", |
||
licensetpl_long = " |
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_attr_req = "true", |
||
licensetpl_link_req = "true", |
licensetpl_link_req = "true", |
||
licensetpl_link = " |
licensetpl_link = "http://artlibre.org/licence/lal/pl/", |
||
licensetpl_nonfree = "false" |
licensetpl_nonfree = "false" |
||
} |
} |
||
}, |
}, |
||
["CC-BY-SA-4.0"] = |
|||
["Free-screenshot"] = |
|||
{ |
{ |
||
metadata = |
metadata = |
||
{ |
{ |
||
licensetpl_short = " |
licensetpl_short = "Free-screenshot", |
||
licensetpl_long = " |
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_attr_req = "true", |
||
licensetpl_link_req = "true", |
licensetpl_link_req = "true", |
||
licensetpl_link = " |
licensetpl_link = "http://www.gnu.org/licenses/fdl-1.3.html", |
||
licensetpl_nonfree = "false" |
licensetpl_nonfree = "false" |
||
} |
} |
||
}, |
}, |
||
-- |
|||
-- NIEWOLNE LICENCJE |
|||
-- |
|||
["Copyright"] = |
["Copyright"] = |
||
{ |
{ |
||
Linia 31: | Linia 100: | ||
licensetpl_short = "Copyright", |
licensetpl_short = "Copyright", |
||
licensetpl_long = "Copyright", |
licensetpl_long = "Copyright", |
||
licensetpl_attr_req = " |
licensetpl_attr_req = "true", |
||
licensetpl_link_req = "false", |
licensetpl_link_req = "false", |
||
licensetpl_link = "https://creativecommons.org/licenses/by-sa/3.0/deed.pl", |
|||
licensetpl_nonfree = "true" |
licensetpl_nonfree = "true" |
||
} |
} |
Wersja z 16:11, 10 lip 2020
--[[
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