Difference between revisions of "Template:Report"
From DFM Wiki
EricThrift (talk | contribs) (Remove cover image at top of the page) |
EricThrift (talk | contribs) (Modified the template for use in report listings.) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | == | + | <includeonly><div style="width:100%; display:table-row"><div style="display:table-cell">[[{{{cover|File:Wikibooks blank cover.svg}}}frameless|300x300px]]</div><div style="display:table-cell">{{#if: {{{title|}}} |==={{{title}}}=== |
+ | |}}{{#if: {{{authors|}}} | {{{authors}}} | ||
− | + | |}}{{#if: {{{series title|}}}|{{{series title}}} |}}{{#if: {{{report type|}}}|{{{report type}}} |}}{{#if: {{{report number|}}}|No. {{{report number}}} |}}{{#if: {{{abstract|}}}| | |
− | {{{abstract|}}} | ||
− | + | {{{abstract}}}|}} | |
− | {{{ | ||
− | + | {{#if:{{{DOI|}}}|DOI: {{{DOI}}} |}}{{#if: {{{Zotero|}}}|Zotero: {{{Zotero}}} |}}</div></div></includeonly> | |
− | {{ | + | <noinclude> |
− | |||
− | |||
− | {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
+ | "cover": { | ||
+ | "label": "Cover image", | ||
+ | "type": "wiki-file-name" | ||
+ | }, | ||
"title": { | "title": { | ||
− | " | + | "label": "report title", |
− | + | "type": "string", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "type": "string | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"required": true | "required": true | ||
}, | }, | ||
− | " | + | "authors": { |
− | |||
− | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
− | " | + | "series title": { |
− | |||
"type": "string", | "type": "string", | ||
− | "default": " | + | "default": "Dried Fish Matters" |
}, | }, | ||
− | " | + | "report type": { |
− | |||
"type": "string", | "type": "string", | ||
− | "default": " | + | "default": "Working Paper" |
}, | }, | ||
− | " | + | "report number": { |
− | + | "type": "number" | |
− | "type": " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"abstract": { | "abstract": { | ||
− | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
− | " | + | "DOI": { |
− | "description": " | + | "description": "DOI link to the PDF version of the report on Dataverse.", |
− | "type": " | + | "type": "url" |
}, | }, | ||
− | " | + | "Zotero": { |
− | "description": " | + | "description": "Link to the item in the DFM Zotero library", |
− | + | "type": "url" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "type": " | ||
− | |||
} | } | ||
}, | }, | ||
− | "description": "Template | + | "description": "Template for presenting reports on the wiki and public webpage. Includes the cover, citation details, and links to Zotero and Dataverse.", |
− | "format": "block" | + | "format": "block" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 09:55, 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 |