Differenze tra le versioni di "Modulo:Wikilib/forms"

Bulk update for 4 digits ndex *** sovrascritto il testo esistente ***
(Adding code to check how much crying before a breaking change *** sovrascritto il testo esistente ***)
(Bulk update for 4 digits ndex *** sovrascritto il testo esistente ***)
nome del Pokémon e quello esteso della forma alternativa. In caso di
fallimento, ritorna la stringa vuota.
 
DEPRECATION NOTICE: this function is deprecated. Use getnameabbr or getndexabbr
instead.
 
--]]
---@deprecated use getnameabbr or getndexabbr instead
f.getabbr = function(name, extform)
if alt[tonumber(name) or name:lower()] then
 
--]]
---@param name string An ndex+abbr or Pokémon name
---@return number|string, string
f.getndexabbr = function(name)
return trueName
end
trueName = type(trueName) == "number" and txt.tfff(trueName) or trueName
return trueName .. f.toEmptyAbbr(extform)
end
79 548

contributi