I’d like to generalize this to a template that can pick up the ID from the current page and use it with the parent operator. Is there a variable for that?
You can pass fields to parameters by using quotation marks and curly braces! Because we’re getting the ID as we define the loop it inherits the context of default query, which would be the current page if placed on a page