Differenze tra le versioni di "Modulo:UselessForms/data"

Vai alla navigazione Vai alla ricerca
Handling empty form names and Minior Core *** sovrascritto il testo esistente ***
(Pikachu Berretto Scelgo Te non si chiama Pikachu Berretto Scelgo Te)
(Handling empty form names and Minior Core *** sovrascritto il testo esistente ***)
 
local t = {}
local txt = require('Modulo:Wikilib/strings') -- luacheck: no unused
local tab = require('Modulo:Wikilib/tables') -- luacheck: no unused
 
-- Crea i link alle forme alternative
for name, poke in pairs(t) do
poke[index] = table.map(poke.names, function(formName)
return string.interp(link,formName {== ''
and ''
or string.interp(link, {
anchor = poke.anchor or string.fu(name),
formName = formName
end
 
--[[
-- Tabelle associate ai Pokémon: ne mancano alcuni perché sarebbero
 
-- identici, in questo modulo, ad altri, e dunque sono costituiti
There's a table for each Pokémon. Some are missing because they would be equal
-- da alias, raggruppati in fondo al modulo
to others, thus there's aliasing at the end of the module.
 
--]]
 
t.pikachu = {}
t.mimikyu = {}
 
--[[
-- Nomi delle forme alternative: le chiavi sono le sigle, così da poter
 
-- mettere solo queste nelle altre sottotabelle
Alternative forms names. Keys are the abbr.
 
--]]
 
t.pikachu.names = {O = 'Berretto Originale', H = 'Berretto Hoenn',
Si = 'Berretto Sinnoh', U = 'Berretto Unima',
K = 'Berretto Kalos', A = 'Berretto Alola',
Co = 'Berretto Compagni', base = 'Pikachu'}
t.pichu.names = {S = 'Pichu Spunzorek', base = 'Pichu'}
t.unown.names = {base = 'A', B = 'B', C = 'C', D = 'D', E = 'E', F = 'F',
G = 'G', H = 'H', I = 'I', J = 'J', K = 'K', L = 'L', M = 'M', N = 'N',
t.frillish.names = t.unfezant.names
t.keldeo.names = {R = 'Forma Risoluta', base = 'Forma Normale'}
t.genesect.names = {I = 'FormaCon Idromodulo', V = 'FormaCon Voltmodulo', P = 'Forma Piromodulo',
P = 'Con Piromodulo', G = 'FormaCon Gelomodulo', base = 'FormaSenza NormaleModulo'}
t.vivillon.names = {base = 'Motivo Nevi Perenni', No = 'Motivo Nordico',
Mn = 'Motivo Manto di Neve', C = 'Motivo Continentale', Pr = 'Motivo Prato',
t.xerneas.names = {A = 'Modo Attivo', base = 'Modo Relax'}
t.mimikyu.names = {S = 'Forma Smascherata', base = 'Forma Mascherata'}
t.minior.names = {R = 'Nucleo Rosso', Ar = 'Nucleo Arancione', G = 'Nucleo Giallo',
VeG = 'Nucleo VerdeGiallo', AzVe = 'Nucleo AzzurroVerde', IAz = 'Nucleo IndacoAzzurro',
I = 'Nucleo Indaco', Vi = 'Nucleo Violetto', base = 'Forma Meteora'}
 
-- Anchor per i link alle forme alternative,
t.floette.anchor = 'Flabébé, Floette e Florges'
 
-- Alternative forms' links
-- Link alle forme alternative.
 
makeLinks()
 
-- Alternative forms' black links
-- Link neri alle forme alternative.
 
makeLinks(true)
 
-- Table to map extended names to abbrs
-- Per passare dai nomi estesi delle forme alternative alle sigle
 
t.pikachu.ext = {originale = 'O', hoenn = 'H', sinnoh = 'Si',
t.xerneas.ext = {attivo = 'A'}
t.minior.ext = {rosso = 'R', arancione = 'Ar', giallo = 'G', verde = 'Ve',
azzurro = 'Az', indaco = 'I', violetto = 'Vi', meteora = 'base'}
t.mimikyu.ext = {smascherata = 'S'}
 
--[[
-- Arrays in cui è memorizzato l'ordine con cui le varie forme appaiono
 
-- nell'ultimo gioco. Si usano indici numerici per facilitare l'ordinamento
Arrays keeping the order in which alternative forms are listed in the latest
game.
 
--]]
 
t.pikachu.gamesOrder = {'base', 'O', 'H', 'Si', 'U', 'K', 'A', 'Co'}
t.mimikyu.gamesOrder = {'base', 'S'}
 
--[[
-- Tabelle contenenti le sigle dei primi giochi in ordine cronologico in cui
 
-- la forma è supportata, compresa la forma base
Oldest game in which each form, included base form, appears.
 
--]]
 
t.pikachu.since = {O = 'sl', H = 'sl', Si = 'sl', U = 'sl',
79 548

contributi

Menu di navigazione