Difference between pages "Module:Data" and "Spawn Alligator (Duel Links)"

From Yugipedia
(Difference between pages)
Jump to: navigation, search
m (Correct names (modifier -> release).)
 
(Restoring revision 5081738 by User:Dinobot1000 on 2022-10-13 19:30:49. "update after rename")
 
Line 1: Line 1:
-- <pre>
+
{{Duel Links card
-- @name Data
+
| image                = SpawnAlligator-DULI-EN-VG.png
-- @description Interface for Module:Database.
+
| ja_image              = SpawnAlligator-DULI-JP-VG.png
-- @notes Internal-only, so far.
+
| attribute            = WATER
-- @author [[User:Becasita]]
+
| types                = Reptile / Effect
-- @contact [[User talk:Becasita]]
+
| atk                  = 2200
 
+
| def                  = 1000
-------------------
+
| level                = 5
-- Export variable:
+
| rarity                = R
-------------------
+
| effect_types          = Trigger
local D = {};
+
| lore                  = During the [[End Phase]] of the [[turn]] this card was [[Tribute Summon]]ed by [[Tributing]] a [[Reptile]]-[[Type]] [[Monster Card|monster]]: [[Target]] 1 monster that was used for the Tribute Summon of this card; [[Special Summon]] it from the [[Graveyard]].
 
+
| ja_lore              = 爬虫類族モンスターをリリースしてこのカードがアドバンス召喚したターンのエンドフェイズ時、このカードのアドバンス召喚のためにリリースしたモンスター1体を墓地から選択して自分フィールド上に特殊召喚する。
--------------
+
| releases              =
-- Load data:
+
{{Duel Links release table/header}}
--------------
+
{{Duel Links release table|type=box|Generation Next (Duel Links set)}}
local DATA = mw.loadData( 'Module:Database' );
+
{{Duel Links release table/footer}}
 
+
}}
----------------------
 
-- Internal functions:
 
----------------------
 
-- @name normalize
 
-- @description Normalize de input.
 
local function normalize( arg )
 
return type( arg ) == 'string'
 
and arg:lower()
 
:gsub(  ' rare$', '' ) -- Remove " rare" at the end (and with a space before it).
 
:gsub(      ' ', '' ) -- Remove spaces.
 
:gsub(      '%-', '' ) -- Remove dashes.
 
:gsub(      '/', '' ) -- Remove slashes.
 
:gsub(      "'", '' ) -- Remove apostrophe.
 
:gsub(  'north', '' ) -- Remove "north".
 
:gsub( 'edition', '' ) -- Remove "edition".
 
or nil
 
;
 
end
 
 
 
-----------
 
-- Methods:
 
-----------
 
-- @name getRg
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Region index.
 
-- @description Gets the region index for «arg». «nil» if not found.
 
function D.getRg( arg )
 
return DATA.rg[ normalize( arg ) ];
 
end
 
 
 
-- @name getRegion
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Region name.
 
-- @description Gets the region name for «arg». «nil» if not found.
 
function D.getRegion( arg )
 
return DATA.region[ D.getRg( arg ) ];
 
end
 
 
 
-- @name getLn
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Language index.
 
-- @description Gets the language index for «arg». «nil» if not found.
 
function D.getLn( arg )
 
return DATA.ln[ D.getRg( arg ) ];
 
end
 
 
 
-- @name getLanguage
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Language name.
 
-- @description Gets the language name for «arg». «nil» if not found.
 
function D.getLanguage( arg )
 
return DATA.language[ D.getLn( arg ) ];
 
end
 
 
 
-- @name getEd
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Edition abbreviation.
 
-- @description Gets the edition abbreviation for «arg». «nil» if not found.
 
function D.getEd( arg )
 
return DATA.ed[ normalize( arg ) ];
 
end
 
 
 
-- @name getEdition
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Edition name.
 
-- @description Gets the edition name for «arg». «nil» if not found.
 
function D.getEdition( arg )
 
return DATA.edition[ D.getEd( arg ) ];
 
end
 
 
 
-- @name getRel
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Release abbreviation.
 
-- @description Gets the release abbreviation for «arg». «nil» if not found.
 
function D.getRel( arg )
 
return DATA.rel[ normalize( arg ) ];
 
end
 
 
 
-- @name getRelease
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Release name.
 
-- @description Gets the release name for «arg». «nil» if not found.
 
function D.getRelease( arg )
 
return DATA.release[ D.getRel( arg ) ];
 
end
 
 
 
-- @name getR
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Rarity abbreviation.
 
-- @description Gets the rarity abbreviation for «arg». «nil» if not found.
 
function D.getR( arg )
 
return DATA.r[ normalize( arg ) ];
 
end
 
 
 
-- @name getRarity
 
-- @parameter {string} «arg»
 
-- @return {string|nil} Rarity name.
 
-- @description Gets the rarity name for «arg». «nil» if not found.
 
function D.getRarity( arg )
 
return DATA.rarity[ D.getR( arg ) ];
 
end
 
 
 
----------
 
-- Return:
 
----------
 
return D;
 
-- </pre>
 

Latest revision as of 01:29, 16 March 2023

Images

Releases

Release Removal Acquisition Cost/requirement Qty.
2017-09-21 Generation Next

Other languages

Name Lore
Japanese スパウン・アリゲーター 爬虫類族モンスターをリリースしてこのカードがアドバンス召喚したターンのエンドフェイズ時、このカードのアドバンス召喚のためにリリースしたモンスター1体を墓地から選択して自分フィールド上に特殊召喚する。
Supaun Arigētā

Search categories

Characters' Decks

The following characters use "Spawn Alligator" in their Decks.

Character Deck Qty
Chills No One Can Defeat Me! 2
Chills No One Can Defeat Me! 2
Jim "Crocodile" Cook Going at Once 1
Jim "Crocodile" Cook No Problem 1
Jim "Crocodile" Cook My Best Combo 1