$def with (ds, tags, meta, formats, papers, networks=[])
$if ds.nnets > 1:
$ds.nnets networks,
$if ds.minv==ds.maxv:
$ds.minv
$else:
$ds.minv-$ds.maxv
vertices,
$if ds.mine==ds.maxe:
$ds.mine
$else:
$ds.mine-$ds.maxe
edges.
Tags:
$:", ".join(link_to_tag(getbase(), tag) for tag in tags)
$ds.date
$ds.shortdescription
Download
$for k,f in dataformats.items():
-
$if k in formats.keys():
$if k in formats.keys():
${k} format
($pretty_size(formats[k].size)) – $formats[k].shortdesc,
more...
Description
$:markdown(ds.description)
$if ds.nnets > 1 and len(networks) > 1:
Networks
$for net in networks:
- ($net.id) '$net.sid'
- $net.vertices vertices, $net.edges edges. $net.description
$if len(meta) > 0:
Metadata
$for m in meta:
- $m.type.capitalize() attribute '$m.name'
-
$if m.network=='NULL' and len(networks) > 1:
(all)
$elif len(networks) > 1:
($m.network)
$m.description
$if len(papers) > 0:
Publication(s)
$for p in papers:
$p.citation
Source
$:makelinks(ds.source)
Licence
$ds.licence_name