How can I make a repeatable node (node is probably not the right word here) that looks like this:
The Field values are individual input texts.
I've thought about using \newcommand to make the outer node and then fill the inside of the outer node with other nodes and text, but I run out of arguments; \newcommand takes up to 9 inputs and this would require 10 inputs plus the positioning and labeling of the outer node.
There is the TeX hack that "allows" more than 9 inputs: How to define a command that takes more than 9 arguments
Is there a better way to do this?
First attempt
This is starting to look like something.
\documentclass[border=1cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\newcommand\iitem[3]{%say
\node [#1,minimum size=3cm] (#2) {};
\node [anchor=north west] (title) at (#2.north west) {\footnotesize Title};
\node [anchor=north west] (title field) at (title.south east) {\footnotesize #3};
}
\begin{document}
\begin{tikzpicture}
\iitem{draw}{test}{demo title};
%\node[left=of test,draw] (test 2) {test 2 node};
\end{tikzpicture}
\end{document}




\usetikzlibrary{positioning},left= ofwas not recognized. – Tom May 20 '22 at 21:39