added definition for message card's link
added template to render message card's link