Mòdul:Jmarchn/Proves3
Aparença
Podeu crear la pàgina d'ús per documentar aquest mòdul Lua. |
local p = {}
local SD = require "Module:SimpleDebug"
function p.retorna(frame)
local chrTextTable = {} --**lclz** linked articles
chrTextTable["0"] = string.format ("Cromosoma %s (humà)", 0)
for v = 1, 2 do
chrTextTable[tostring(v)] = string.format ("Cromosoma %s (humà)", v)
end
local SexGen = {'X','Y'}
for v = 1, 2 do
chrTextTable[SexGen[v]] = string.format ("Cromosoma %s (humà)", SexGen[v])
end
chrTextTable["MT"] = "ADN mitocondrial (humà)"
error (SD.v (chrTextTable))
end
return p