{{define "main-content"}}

For each type

types:

inactive

raised

speaker

mark

mark and active

{{ range .Gestures }} {{ with .GetGestureInfo }}
for {{ .Name }}
{{ template "inactiveBrick" . }}
{{ template "raisedBrick" . }}
{{ template "speakerBrick" . }}
{{ template "markBrick" . }}
{{ template "markAndRaisedBrick" . }}
{{ 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}}