1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/layouts/shortcodes/api-method-parameter.html
2020-01-04 10:33:16 +01:00

12 lines
537 B
HTML

<div class="api-method-parameter">
<div class="api-method-parameter-cell api-method-parameter-name">
<div>{{ .Get "name" | markdownify }}</div>
{{ if (.Get "required") }}<div class="api-method-parameter-required">{{ i18n "required" }}</div>{{ else}}<div class="api-method-parameter-optional">{{ i18n "optional" }}</div>{{ end }}
</div>
<div class="api-method-parameter-cell api-method-parameter-type">
<code>{{ .Get "type" }}</code>
</div>
<div class="api-method-parameter-cell api-method-parameter-description">