Difference between revisions of "Template:Report"
From DFM Wiki
EricThrift (talk | contribs) (Fix default for the cover image) Tag: 2017 source edit |
EricThrift (talk | contribs) (Add "attachments" parameter) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | <includeonly><div style="width:100%; display:table-row"><div style="display:table-cell; vertical-align:top;width:300px">[[{{#if:{{{cover|}}}|{{{cover}}}|File:Wikibooks blank cover.svg}}|frameless|300px|border|link=]]</div><div style="display:table-cell; padding-left:2em; vertical-align:top">{{#if: {{{title|}}} |'''{{{title}}}'''|}}{{#if: {{{authors|}}} |<div style="margin:1em 0">{{{authors}}}</div>|}}<div style="margin:1em 0">{{#if: {{{series title|}}}|{{{series title}}} |}} {{#if: {{{report type|}}}| {{{report type}}} |}} {{#if: {{{report number|}}}| No. {{{report number}}} |}}</div>{{#if: {{{abstract|}}}|<div style="margin:1em 0">{{{abstract}}}</div>|}}{{#if:{{{url|}}}|<div style="margin:1em 0">'''URL:''' {{{url}}} </div>|}} {{#if:{{{DOI|}}}|<div style="margin:1em 0">'''DOI:''' {{{DOI}}} </div>|}} {{#if: {{{zotero|}}}|<div style="margin:1em 0">'''Zotero:''' {{{zotero}}}</div> |}}</div></div></includeonly> | + | <includeonly><div style="width:100%; display:table-row"><div style="display:table-cell; vertical-align:top;width:300px">[[{{#if:{{{cover|}}}|{{{cover}}}|File:Wikibooks blank cover.svg}}|frameless|300px|border|link=]]</div><div style="display:table-cell; padding-left:2em; vertical-align:top">{{#if: {{{title|}}} |'''{{{title}}}'''|}}{{#if: {{{authors|}}} |<div style="margin:1em 0">{{{authors}}}</div>|}}<div style="margin:1em 0">{{#if: {{{series title|}}}|{{{series title}}} |}} {{#if: {{{report type|}}}| {{{report type}}} |}} {{#if: {{{report number|}}}| No. {{{report number}}} |}}</div>{{#if: {{{abstract|}}}|<div style="margin:1em 0">{{{abstract}}}</div>|}}{{#if:{{{attachments|}}}|<div style="margin:1em 0">'''URL:''' {{{attachments}}} </div>|}} {{#if:{{{url|}}}|<div style="margin:1em 0">'''URL:''' {{{url}}} </div>|}} {{#if:{{{DOI|}}}|<div style="margin:1em 0">'''DOI:''' {{{DOI}}} </div>|}} {{#if: {{{zotero|}}}|<div style="margin:1em 0">'''Zotero:''' {{{zotero}}}</div> |}}</div></div></includeonly> |
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 14:40, 9 March 2022
Template for presenting reports on the wiki and public webpage. Includes the cover, citation details, and links to Zotero and Dataverse.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Cover image | cover | no description | File | optional |
report title | title | no description | String | required |
Authors | authors | no description | String | optional |
Series title | series title | no description
| String | optional |
Report type | report type | no description
| String | optional |
Report number | report number | no description | Number | optional |
Abstract | abstract | no description | String | optional |
DOI | DOI | DOI link to the PDF version of the report on Dataverse. | URL | optional |
Zotero | zotero | Link to the item in the DFM Zotero library | URL | optional |