(Wanderwine Necropolis isn't a spell.)
At the beginning of your upkeep, Wanderwine Necropolis deals 2 damage to target creature you control.
,
: Tap target artifact with converted mana cost X or less.
: Add
or
to your mana pool.
Put Wanderwine Necropolis on top of your library: Add
to your mana pool.