Script to create a map pointer using coordinates as inputs?

My PC barely runs WOW so I don’t use any addons.

I have a macro to display my current position which helps when I am trying to find something. But if I could take coordinates from wowhead and plug them into a script to create a map pointer that would be really useful. Is there any way to do this?

If you click on a map pin on Wowhead you’ll get a UI to copy an in game pin for it.

eg

/script DEFAULT_CHAT_FRAME:AddMessage("\124cffffff00\124Hworldmap:71:6459:5000\124h[\124A:Waypoint-MapPin-ChatIcon:13:13:0:0\124a Doomwalker (Tanaris) Map Pin]\124h\124r");

Thank you!