Template:Include references models cargo1: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="row"> | <div class="row"> | ||
<div class="col-sm- | <div class="col-sm-12"> | ||
<center>{{PageTitle| References [[Model:{{#replace:{{PAGENAME}}|-Publications}}|{{#replace:{{PAGENAME}}|-Publications}}]] }}</center><br> | |||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-sm-2 bg-dark text-white border border-white"> | |||
<table><tr><td><p class="fs-xs" style="overflow-wrap:break-word; word-break:break-word">''Total peer and non-peer reviewed publications<br><br>''</p></td></tr><tr><td><big><p style="font-size: 4vw;">{{CountBibTypePubsAll|ModelName={{#replace:{{PAGENAME}}|-Publications}} }}</p></td></table> | |||
</div> | |||
<div class="col-sm-7"> | |||
<div class="row"> | |||
<div class="col-md-5 bg-secondary text-white border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw">''Journal Articles<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;">{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=journalArticle}}</p></td></table> | |||
</div> | |||
<div class="col-md-3 bg-secondary text-white border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Books<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;">{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=book}}</p></td></table> | |||
</div> | |||
<div class="col-md-4 bg-secondary text-white border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Book sections<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;">{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=bookSection}}</p></td></table> | |||
</div> | |||
</div><div class="row"> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Reports<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=report}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Thesis<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=thesis}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-4 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Abstracts<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=conferencePaper}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-2 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Code<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=computerProgram}}]]</span></p></td></table> | |||
</div> | |||
</div><div class="row"> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Blogs<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=blogPost}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Miscellaneous<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=MISC}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Web<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=webpage}}]]</span></p></td></table> | |||
</div> | |||
<div class="col-sm-3 bg-light text-muted border border-white"> | |||
<table><tr><td><p class="fs-xs" style="font-size: 1vw;">''Preprints<br>''</p></td></tr><tr><td><big><p style="font-size: 3vw;"><span id=frontimage-text>[[{{#replace:{{PAGENAME}}|-Publications}}-Rest-Publications|{{CountBibTypePubs|ModelName={{#replace:{{PAGENAME}}|-Publications}}|BibType=preprint}}]]</span></p></td></table> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="col-sm-3"> | |||
{{#ifeq:{{AutoMineRefs_{{#replace:{{PAGENAME}}|-Publications }}}}|1|<div class="row, p-3 mb-2 bg-info text-white"><div class="col-sm-12" style="overflow-wrap:break-word; word-break:break-word"><b>References are automatically added</b> </div></div>{{{info|''<small>Our search algorithms may occasionally miss or include incorrect references. If you find one, please add it using the buttons below or notify csdmsweb@colorado.edu</small><br><br>''}}} |}} | |||
<div class="row, p-3 mb-2 bg-info text-white"><div class="col-sm-12" style="overflow-wrap:break-word; word-break:break-word"><b>Add references</div></div>{{AddReferenceUploadButtons1}}</b></div> | |||
</div><br><br> | |||
<div class="row"> | <div class="row"> | ||
<div class="col-sm-9"> | <div class="col-sm-9"> | ||
{{#cargo_query: | |||
tables=BibEntryCargo,RefsInt2,RefsInt1 | |||
|join on=BibEntryCargo._pageName=RefsInt2._pageName,BibEntryCargo._pageName=RefsInt1._pageName | |||
|where = PublicationMultipleModelsCargo LIKE "{{#replace:{{PAGENAME}}|-Publications}}" && (BibEntryCargo.BibType = "journalArticle" OR BibEntryCargo.BibType = "book" OR BibEntryCargo.BibType = "bookSection") | |||
|fields=CONCAT_WS('','[[', BibEntryCargo._pageName, '|', Firstname, ']]', ' ', DATE_FORMAT(Year,"%Y"),'. ',Title,'. <i>', Journal,'</i>, ', Volume, Pages,'. ', CONCAT_WS('','[http://dx.doi.org/',DOI,' ',DOI,']')) = | |||
Peer reviewed reference(s), DATE_FORMAT(Year,"%Y")=Year, CONCAT( | |||
CASE | |||
WHEN PublicationWhatKindOf = "a module overview describing a module" THEN "Model overview" | |||
WHEN PublicationWhatKindOf = "a module application description" THEN "Model application" | |||
WHEN PublicationWhatKindOf = "module related theory" THEN "Related theory" | |||
WHEN PublicationWhatKindOf = "reference to source code" THEN "Source code" | |||
ELSE "Other" | |||
END)=type,CONCAT('[https://api.semanticscholar.org/graph/v1/paper/',Semantic_ID,' ',PublicationCitationsNr,']')=Cited | |||
|group by = BibEntryCargo._pageName | |||
|limit=10000 | |||
|column widths=73%,7%,12%,8% | |||
|rows per page = 20 | |||
|named args=yes | |||
|order by=Year DESC | |||
|format=dynamic table | |||
}} | |||
<br><br> | |||
</div> | </div> | ||
<div class="col-sm-3"> | <div class="col-sm-3"> | ||
{{#ifexist:Template:{{#replace:{{PAGENAME}}|-Publications}}-citations-per-year-full| | {{#ifexist:Template:{{#replace:{{PAGENAME}}|-Publications}}-citations-per-year-full| | ||
<div class="row, p-3 mb-2 bg- | <div class="row, p-3 mb-2 bg-info text-white"><div class="col-sm-12" style="overflow-wrap:break-word; word-break:break-word">Citations</div></div></b> | ||
[[Template:{{#replace:{{PAGENAME}}|-Publications}}-citations-per-year-full|View all]]<br> | [[Template:{{#replace:{{PAGENAME}}|-Publications}}-citations-per-year-full|View all]]<br> | ||
<div class=AutoScaleImage>{{ {{#replace:{{PAGENAME}}|-Publications}}-citations-per-year}}</div> | <div class=AutoScaleImage>{{ {{#replace:{{PAGENAME}}|-Publications}}-citations-per-year}}</div> | ||
{{ {{#replace:{{PAGENAME}}|-Publications }}-citation-indices}} <br>| }} | {{ {{#replace:{{PAGENAME}}|-Publications }}-citation-indices}} <br>| }} | ||
{{#ifexist:Template:{{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year-full| | {{#ifexist:Template:{{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year-full| | ||
<div class="row, p-3 mb-2 bg- | <div class="row, p-3 mb-2 bg-info text-white"><div class="col-sm-12" style="overflow-wrap:break-word; word-break:break-word">Publications per year</div></div> | ||
[[Template:{{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year-full|View all]]<br> | [[Template:{{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year-full|View all]]<br> | ||
<div class=AutoScaleImage>{{ {{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year}}</div><br><br> | <div class=AutoScaleImage>{{ {{#replace:{{PAGENAME}}|-Publications}}-pubs-per-year}}</div><br><br> | ||
</div> | </div> | ||
<br><br>|}} | <br><br>|}} |