{{ define "main" }}
{{ partial "sidebar.html" (dict "context" .) }} {{ partial "toc.html" . }}
{{ if .Title }}

{{ .Title }}

{{ end }} {{ .Content }} {{ $data := index .Site.Data.weapondefs.WeaponDefs }} {{ range $name, $info := $data }} {{ end }}
Name Description Values
{{ if strings.Contains $info.type "string" }}string{{ else }}{{ $info.type }}{{ end }} {{ $name }} {{ $info.description }}
{{ if $info.fallbackName }}
Fallback to:
{{ $info.fallbackName }}
{{ end }} {{ if $info.defaultValue }}
Default:
{{ $info.defaultValue }}
{{ end }} {{ if $info.minimumValue }}
Min:
{{ $info.minimumValue }}
{{ end }} {{ if $info.maximumValue }}
Max:
{{ $info.maximumValue }}
{{ end }} {{ if $info.scaleValue }}
Scale:
{{ $info.scaleValue }}
{{ end }} {{ if $info.scaleValueString }}
Scaled by:
{{ $info.scaleValueString }}
{{ end }}
{{ partial "components/last-updated.html" . }} {{ partial "components/pager.html" . }} {{ partial "components/comments.html" . }}
{{ end }}