Modulo:Cita: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
fix parametro ref |
m aggiorno nome modulo |
||
(3 versioni intermedie di un altro utente non mostrate) | |||
Riga 1:
local cita = {}
-- Genera una citazione a enzyme-database.org dato il numero
function cita.enzima(frame)
local args = frame.args
Riga 8:
if enzima_num == "" then return "" end
local name = args.name or ""
if name ~= "" then enzima_args
local group = args.group or ""
if group ~="" then
local lg = require( "Modulo:Lingue" );
local Language_code = lg.lingue({"en", usacodice='sì'}) .. " "
tag_ref = frame:extensionTag{ name = 'ref',
content = table.concat({
enzima_num, '* ', enzima_num,
"] su ''The Enzyme Database''"}),
args = enzima_args }
return "''[[Classificazione EC|numero EC]] " .. enzima_num .. "''" .. tag_ref
end
|