{{template "layout.html" .}} {{define "title"}}{{ title .Name }}{{end}} {{define "content"}}

{{ title .Name }}

{{if .Female }} {{else}} {{end}} {{ .Race }} {{ if .Deity}}deity{{end}} {{ if .Force}}force{{end}} {{ if .Vampire}}vampire{{end}} {{ if .Werebeast}}werebeast{{end}} {{ if .Necromancer}}necromancer{{end}} {{ if not (or .Deity .Force)}} (*{{ .BirthYear }}{{ if ge .DeathYear 0 }} †{{ .DeathYear }}{{ end }}) {{ end }}

{{- if gt (len .Sphere) 0 -}}
Spheres
{{ andList .Sphere }}
{{- end -}} {{- if gt (len .Goal) 0 -}}
Goals
{{ .Goals }}
{{- end -}} {{- if gt (len .JourneyPet) 0 -}}
Pets
{{ .Pets }}
{{- end -}}
{{- if ne 0 (len .SiteLink) }}
Sites
{{- end }} {{- if or (ne 0 (len .EntityFormerPositionLink)) (ne 0 (len .EntityPositionLink)) }}
Positions
{{- end }}
{{- if ne 0 (len .HfLink) }}
Related Figures
{{- end }} {{- if ne 0 (len .EntityLink) }}
Related Entities
{{- end }}
{{- if ne 0 (len .EntityReputation) }}
Entity Reputations
{{- end }} {{- if ne 0 (len .VagueRelationship) }}
Relationships
{{- end }} {{- if ne 0 (len .IntrigueActor) }}
Intrigue Actors
{{- end }} {{- if ne 0 (len .IntriguePlot) }}
Intrigue Plots
{{- end }}
Events
{{ template "events.html" events . }} {{ json . }} {{end}}