I have this code (based on Andrew's answer at How can I use rotate inside a defined TikZ command?).
\documentclass{amsart}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xparse}
\NewDocumentCommand\Triangle{ O{} r()}{% Syntax: [draw options] (lefthand endpoint
\draw[#1] (#2) node{$\bullet$} -- ++(1,1.5) node{$\bullet$};
\draw[#1] (#2) -- ++(2,0) node{$\bullet$};
\draw[#1] ($(#2)+(1,1.5)$) -- ++(1,-1.5);
}
\begin{document}
\begin{center}
\begin{tikzpicture}
\Triangle[rotate=30](0,0);
\Triangle[rotate=-10](2.5,0);
\Triangle(5,0);
\end{tikzpicture}
\end{center}
\end{document}
Now I would like to add three more arguments as names replacing the bullets at the vertices. I have tried to follow the instructions on several blogs plus in the xparse documentation and i cannot get it to work. I'm sure the right way is simple once you know it. Can someone show it to me?

\NewDocumentCommand\Triangle{ O{} r() m m m }{....macro code...}. (The space between the letters is for clarity only, it is not required.) Then you would have#1,#2, ...,#5at your disposal in the macro code. – Jan 10 '18 at 15:50()delimited first argument. – Torbjørn T. Jan 10 '18 at 18:31\Triangle-like macros but another approach is to define a tikzpic, as described in section 18.2 of the tikz manual. There are many examples of these on TeX.SX such as my post https://tex.stackexchange.com/questions/408833/how-do-i-draw-the-following-triangles-in-latex/408838#408838, which defines a possibly relatedpicfor drawing some triangles. – Jan 11 '18 at 09:25