31 lines
936 B
HTML
31 lines
936 B
HTML
{{/* See layouts/shortcodes/cite_book.html */}}
|
|
|
|
<div style="display: inline">
|
|
|
|
{{/* Authors */}}
|
|
{{ with .author }}<b>{{ . }}</b>{{ end }}{{ with .author2 }}; <b>{{ . }}</b>{{ end }}
|
|
|
|
{{/* Date */}}
|
|
{{ with .date }}({{ . }}).{{ end }}
|
|
|
|
{{/* Chapter */}}
|
|
{{ with .chapter }}"{{ . }}" in{{ end }}
|
|
|
|
{{/* Title, edition and URL */}}
|
|
{{ with .url }}<a href="{{ . }}">{{ end }}{{ with .title }}<i>{{ . }}</i>{{ end }}{{ with .edition }}({{ . }} ed.){{ end }}{{ if .url }}</a>{{ end }}.
|
|
|
|
{{/* Publisher */}}
|
|
{{ with .publisher }}{{ . }}.{{ end }}
|
|
|
|
{{/* Pages */}}
|
|
{{ with .page }}p. {{ . }}.{{ end }}
|
|
{{ with .pages }}pp. {{ . }}.{{ end }}
|
|
|
|
{{/* ISBN */}}
|
|
{{ with .isbn }}ISBN <a target="_blank" href="https://en.wikipedia.org/wiki/Special:BookSources/{{ . }}">{{ . }}</a>.{{ end }}
|
|
|
|
{{/* Archive info */}}
|
|
{{ with .original_url }}Archived from <a href="{{ . }}">the original</a>{{ end }}{{ with .archive_date }} on {{ . }}{{ end }}.
|
|
|
|
</div>
|