Template:XC3 fancy link item

A template that automatically detects the item type of any item ID and spits out the appropriate fancy link.