dorfylegends/backend/templates/popoverEntity.html

18 lines
552 B
HTML
Raw Normal View History

2022-05-06 16:16:16 +03:00
{{ .Race }}{{ if .Necromancer}} necromancer{{end}} {{ .Type }}
2022-05-06 14:11:12 +03:00
{{- if .Profession }}
of {{ .Profession }}s
{{- end }}
2022-05-06 16:16:16 +03:00
{{- if ne .Parent -1 }}
of {{ entity .Parent }}
{{- end }}
2022-05-06 14:11:12 +03:00
{{- if and (eq .Type "religion") (gt (len .WorshipId) 0) }}
<br />centered around the worship of {{ hfList .WorshipId }}
{{- end }}
{{- if eq .Type "militaryunit" }}
2022-05-05 17:55:57 +03:00
{{- if gt (len .WorshipId) 0 }}
2022-05-06 14:11:12 +03:00
<br />devoted to the worship of {{ hfList .WorshipId }}
{{- end }}
{{- if gt (len .WorshipId) 0 }}
<br />dedicated to the mastery of {{ andList .Weapons }}
{{- end }}
2022-05-05 17:55:57 +03:00
{{- end }}