Difference between revisions of "Template:DocumentMetadata"
m |
m |
||
Line 6: | Line 6: | ||
<nowiki> | <nowiki> | ||
{{DocumentMetadata | {{DocumentMetadata | ||
+ | | url = (external URL to document) | ||
| project = (Should match a category.) | | project = (Should match a category.) | ||
| deliverable-nr = | | deliverable-nr = | ||
Line 86: | Line 87: | ||
<div class="NavContent"> | <div class="NavContent"> | ||
{| | {| | ||
+ | !Original document | ||
+ | |{{#if:{{{url|}}} | [{{{url}}}] | – }} | ||
+ | |- | ||
!Title | !Title | ||
|{{{deliverable-nr}}} {{{title}}} | |{{{deliverable-nr}}} {{{title}}} | ||
Line 93: | Line 97: | ||
|- | |- | ||
!Leading beneficiary | !Leading beneficiary | ||
− | | | + | |{{{leading-beneficiary}}} |
|- | |- | ||
!scope="row" | Author{{#if:{{{author2|}}}|s}} | !scope="row" | Author{{#if:{{{author2|}}}|s}} | ||
Line 179: | Line 183: | ||
{{!}}- | }} | {{!}}- | }} | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 08:44, 25 August 2020
An expandable navFrame for document metadata.
Parameters:
{{DocumentMetadata | url = (external URL to document) | 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}}} |