2021-11-01 07:27:41 +01:00
|
|
|
<p class="invisible"><a id="{{ .Params.slug }}"></a></p>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr class="table-secondary">
|
|
|
|
<th colspan="2">
|
2022-02-06 20:51:47 +01:00
|
|
|
{{ $linkIcon := resources.Get "icons/link-45deg.svg" | resources.Fingerprint }}
|
|
|
|
<span class=""><a href="#{{ .Params.slug }}"><img src="{{ $linkIcon.Permalink }}"></a> {{ .Params.title | markdownify }}</span>
|
2021-11-01 07:27:41 +01:00
|
|
|
{{- with .Params.required -}}
|
|
|
|
<div class="badge-required">
|
2021-12-01 13:05:48 +01:00
|
|
|
<span class="badge align-middle">Required</span>
|
2021-11-01 07:27:41 +01:00
|
|
|
</div>
|
|
|
|
{{- end -}}
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Label</td>
|
|
|
|
<td>{{ .Name | markdownify }}</td>
|
|
|
|
</tr>
|
2021-11-26 11:00:51 +01:00
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Module</td>
|
|
|
|
<td>{{ .Params.module | markdownify }}</td>
|
|
|
|
</tr>
|
2021-11-01 07:27:41 +01:00
|
|
|
{{ with .Params.description }}
|
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Definition</td>
|
|
|
|
<td>{{ . | markdownify }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.comment }}
|
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Comment</td>
|
|
|
|
<td>{{ . | markdownify }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.field }}
|
|
|
|
<tr>
|
2021-11-07 15:16:00 +01:00
|
|
|
<td class="col-2 field-name">Suggested element</td>
|
2021-12-01 14:11:16 +01:00
|
|
|
<td><code>{{ . }}</code></td>
|
2021-11-01 07:27:41 +01:00
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.policy }}
|
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Policy</td>
|
|
|
|
<td>{{ . }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Params.vocabulary }}
|
|
|
|
{{ with .Resources.GetMatch .Params.vocabulary }}
|
|
|
|
<tr>
|
|
|
|
<td class="col-2 field-name">Vocabulary</td>
|
|
|
|
<td><a href="{{ .RelPermalink }}">{{ .Name }}</a></td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|