dorfylegends/backend/templates/popoverEntity.html

19 lines
575 B
HTML
Raw Permalink Normal View History

2022-05-07 19:11:24 +03:00
{{ entity .Id }}<br />
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 }}