For each type
types:
inactive
raised
speaker
mark
mark and active
{{ range .Gestures }}
{{ with .GetGestureInfo }}
for {{ .Name }}
{{ template "inactiveBrick" .Color }}
{{ template "raisedBrick" .Color }}
{{ template "speakerBrick" .Color }}
{{ template "markBrick" .Color }}
{{ template "markAndRaisedBrick" .Color }}
{{ end }}
{{ end }}
Now for BrickData taking parametrized template name
{{ template "brick" .ABrick }}
Now for a person
{{ template "personBlocks" .TestPerson }}
And now i'll want to get all persons for a room
{{ template "roomPeople" .ARoom }}
{{end}}