{% if release.release_status == 'published' %}
Published in
{{ container.name }}
{% else %}
Released as a
{{ release.release_type }}
{% if container %} in
{{ container.name }} {% endif %}
{% endif %}
{% if release.publisher %}
by
{{ release.publisher }}
{% endif %}
{% if container != None and container.issnl != None %}
ISSN-L |
{{ container.issnl }}
{% endif %}
{% if release.volume != None %}
|
Volume |
{{ release.volume }}
{% endif %}
{% if release.issue != None %}
|
Issue |
{{ release.issue }}
{% endif %}
{% if release.pages != None %}
|
Page(s) |
{{ release.pages }}
{% endif %}
{% if release.release_date != None %}
|
Release Date |
{{ release.release_date }}
{% elif release.release_year != None %}
|
Release Year |
{{ release.release_year }}
{% endif %}
{% if container != None and container.container_type != None %}
|
Container Type |
{{ container.container_type }}
{% endif %}
{% if release.publisher != None %}
|
Publisher |
{{ release.publisher }}
{% endif %}
{% if release.language != None %}
|
Primary Language |
{{ release.language }}
(lookup)
{% endif %}
|
{% if release.contribs|length > 0 %}
All Contributors ({{ release.contribs|length }})
{% for contrib in release.contribs %}
{% if contrib.index or contrib.index == 0 %} {{ contrib.index + 1 }}{% endif %}
|
{% if contrib.creator_id %}
{{ contrib.raw_name or 'unknown' }}
{% else %}
{{ contrib.raw_name or '' }}
{% endif %}
{{ contrib.role or 'unknown' }}
{% endfor %}
|
{% else %}
No known contributors (authors, translators, etc).
{% endif %}
{% if release.abstracts != [] %}
Abstract
{{ release.abstracts[0].content }}
In {{ release.abstracts[0].mimetype }}
format
{% endif %}
{% if entity.extra %}
Extra Metadata (raw JSON)
{{ entity_macros.extra_metadata(entity.extra) }}
{% endif %}
Known Files and URLs
{% if entity.files != [] %}
{% else %}
There are no known files associated with this release (you could try
other releases for this work?).
{% endif %}
{% if entity.filesets != [] %}
File Sets
{% for fileset in entity.filesets %}
{{ fileset.manifest|count }} files {{ fileset.total_size|filesizeformat }}
fileset:{{ fileset.ident }}
|
{% for url in fileset.urls[:5] %}
{% if url.rel == "dweb" %}
{{ url.url }} ({{ url.rel }})
{% else %}
{{ url.url.split('/')[2] }} ({{ url.rel }})
{% endif %}
{% endfor %}
{% if fileset.urls|length > 5 %}
+ {{ file.urls|length - 5 }} more URLs
{% endif %}
{% endfor %}
|
{% endif %}
{% if entity.webcaptures != [] %}
Web Captures
{% endif %}
{% if release.refs != None and release.refs.size != 0 %}
References
This release citing other releases
{# see https://github.com/Semantic-Org/Semantic-UI/issues/2639 #}
{% for ref in release.refs %}
-
{% if ref.title %}
{{ ref.title }}
{% if ref.container_name %}{{ ref.container_name }}.{% endif %}
{% if ref.year %}{{ ref.year }}{% endif %}
{% if ref.locator %}{{ ref.locator }}{% endif %}
{% elif ref.extra != None %}
{% if ref.extra.get('author') %}{{ ref.extra['author'] }}.{% endif %}
{% if ref.extra.get('article-title') %}{{ ref.extra['article-title'] }}.{% endif %}
{% if ref.container_name %}{{ ref.container_name }}.{% endif %}
{% if ref.year %}{{ ref.year }}.{% endif %}
{% if ref.extra.unstructured %}{{ ref.extra.unstructured }}{% endif %}
{% else %}
unknown
{% endif %}
{% if ref.target_release_id != None %}
(fatcat entry)
{% endif %}
{% if ref.extra != None and ref.extra.doi %}
(DOI: {{ ref.extra.doi }})
{% endif %}
{% endfor %}
{% else %}
No reference list available.
{% endif %}
{% if entity.files != [] and entity.files[0].urls != [] %}
Download Full Text
{% elif entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %}
View Web Archive
{% else %}
No Full Text Available
{% endif %}
{% if release.release_type or release.release_status or release.release_year %}
{% if release.release_type %}
Type {{ release.release_type }}
{% endif %}
{% if release.release_status %}
Status {{ release.release_status or 'unknown' }}
{% endif %}
{% if release.release_date %}
Date {{ release.release_date }}
{% elif release.release_year %}
Year {{ release.release_year }}
{% endif %}
{% endif %}
{% if release.doi or release.pmid or release.pmcid or release.wikidata_qid %}
{% endif %}
{% if release.extra.is_oa == True %}
Open Access
{% elif release.extra.is_oa == False %}
Not Open Access
{% endif %}
{% if container != None and container.es %}
Container Metadata
{% if container.es.is_oa == True %}
Open Access Publication
{% elif container.es.is_oa == False %}
Not Open Access
{% else %}
Unknown OA Status
{% endif %}
{% if (container.es != None) %}
{% if container.es.in_doaj == True %}
In
DOAJ
{% elif container.es.in_doaj == False %}
Not in
DOAJ
{% endif %}
{% if container.es.in_road == True %}
In
ISSN ROAD
{% elif container.es.in_road == False %}
Not in
ISSN ROAD
{% endif %}
{% if container.es.in_kbart == True %}
In
Keepers Registery
{% elif container.es.in_kbart == False %}
Not in
Keepers Registry
{% endif %}
{% endif %}
{% if container.issnl != None %}
ISSN-L:
{{ container.issnl }}
{% endif %}
Fatcat Entry
{% endif %}
Work Entity
grouping other versions (eg, pre-print) and variants of this release
{# this restriction, for CSL-JSON generation, rules out almost everything #}
{% if release.contribs and release.contribs[0].creator_id %}
{% endif %}
{{ entity_macros.fatcat_bits(entity, "release", "container,files,filesets,webcaptures") }}