dorfylegends/backend/templates/popoverEntity.html
Robert Janetzko 185a62dcc0 more details
2022-05-06 11:11:12 +00:00

15 lines
No EOL
454 B
HTML

{{ .Race }} {{ .Type }}
{{- if .Profession }}
of {{ .Profession }}s
{{- end }}
{{- if and (eq .Type "religion") (gt (len .WorshipId) 0) }}
<br />centered around the worship of {{ hfList .WorshipId }}
{{- end }}
{{- if eq .Type "militaryunit" }}
{{- if gt (len .WorshipId) 0 }}
<br />devoted to the worship of {{ hfList .WorshipId }}
{{- end }}
{{- if gt (len .WorshipId) 0 }}
<br />dedicated to the mastery of {{ andList .Weapons }}
{{- end }}
{{- end }}