Difference between revisions of "Template:DocumentMetadata"
m |
m |
||
Line 93: | Line 93: | ||
|{{#if:{{{url|}}} | [{{{url}}}] | – }} | |{{#if:{{{url|}}} | [{{{url}}}] | – }} | ||
|- | |- | ||
− | + | {{#if:{{{pdf|}}} | {{!}}​{{!}}{{!}}PDF: [{{{pdf}}}] | |
− | + | {{!}}- | }} | |
− | + | {{#if:{{{zenodo|}}} | {{!}}​{{!}}{{!}}Zenodo: [{{{zenodo}}}] | |
− | + | {{!}}- | }} | |
!Title | !Title | ||
|{{{deliverable-nr}}} {{{title}}} | |{{{deliverable-nr}}} {{{title}}} | ||
Line 126: | Line 126: | ||
{{!}}- | }} | {{!}}- | }} | ||
{{#if:{{{author10|}}} | {{!}}​{{!}}{{!}}{{{author10}}} ({{{author-affiliation10}}}) | {{#if:{{{author10|}}} | {{!}}​{{!}}{{!}}{{{author10}}} ({{{author-affiliation10}}}) | ||
− | {{!}}-| }} | + | {{!}}- | }} |
!Accepted by | !Accepted by | ||
|{{{accepted-by}}} | |{{{accepted-by}}} | ||
Line 143: | Line 143: | ||
|- | |- | ||
!Abstract | !Abstract | ||
− | |[[# | + | |[[#Abstract]] |
|- | |- | ||
! scope="row" | Project internal reviewer{{#if:{{{reviewer2|}}}|s}} | ! scope="row" | Project internal reviewer{{#if:{{{reviewer2|}}}|s}} |
Revision as of 14:03, 26 August 2020
An expandable navFrame for document metadata.
Parameters:
{{DocumentMetadata | url = (External URL to document.) | pdf = (Wikilink to PDF.) | zenodo = (Zenodo link.) | project = (Should match a category.) | deliverable-nr = | title = | work-package = | type = (Should match a category.) | leading-beneficiary = | author1 = | author-affiliation1 = | author2 = | author-affiliation2 = | author3 = | author-affiliation3 = | author4 = | author-affiliation4 = | author5 = | author-affiliation5 = | author6 = | author-affiliation6 = | author7 = | author-affiliation7 = | author8 = | author-affiliation8 = | author9 = | author-affiliation9 = | author10 = | author-affiliation10 = | reviewer1 = | reviewer-affiliation1 = | reviewer2 = | reviewer-affiliation2 = | reviewer3 = | reviewer-affiliation3 = | reviewer4 = | reviewer-affiliation4 = | reviewer5 = | reviewer-affiliation5 = | accepted-by = (Format: Full Name - Affiliation - Role) | type = (Should match a category. Plain text; no special characters.) | dissemination-level = (By default PUBLIC) | deliverable-due-date = (ISO 8601 format, ie. YYYY-MM-DD) | actually-delivered-on = (ISO 8601) <!--Document history:--> | date1 = | version1 = | date2 = | version2 = | date3 = | version3 = | date4 = | version4 = | date5 = | version5 = | date6 = | version6 = | date7 = | version7 = | date8 = | version8 = | date9 = | version9 = | date10 = | version10 = }}
Styling is set under the navX (navFrame, navHead etc.) class in MediaWiki:Common.css.
Output:
Document metadata
Original document | – |
---|---|
Title | {{{deliverable-nr}}} {{{title}}} |
Work package | {{{work-package}}} |
Leading beneficiary | {{{leading-beneficiary}}} |
Author | {{{author1}}} ({{{author-affiliation1}}}) |
Accepted by | {{{accepted-by}}} |
Deliverable type | {{{type}}} |
Dissemination level | {{{dissemination-level}}} |
Deliverable due date | {{{deliverable-due-date}}} |
Actual Date of Submission | {{{actually-delivered-on}}} |
Abstract | #Abstract |
Project internal reviewer | {{{reviewer1}}} ({{{reviewer-affiliation1}}}) |
Document history | |
Date | Version |
{{{date1}}} | {{{version1}}} |