Difference between revisions of "Template:DocumentMetadata"

From
Jump to: navigation, search
m
(Generalised parameters and formatted them into a wikitable.)
Line 82: Line 82:
 
<div class="NavFrame collapsed">
 
<div class="NavFrame collapsed">
 
<div class="NavHead" id="metadata">Document metadata</div>
 
<div class="NavHead" id="metadata">Document metadata</div>
<div class="NavContent" align="left">
+
<div class="NavContent">
<table>
+
{|
<th>Title</th
+
!Title
<tr>{{{deliverable-nr}}} {{{title}}}
+
|{{{deliverable-nr}}} {{{title}}}
 
+
|-
'''WORK PACKAGE:''' 1 – New Sensor technologies: innovation and services
+
!Work package
 
+
|{{{work-package}}}
'''LEADING BENEFICIARY:''' EURO-ARGO
+
|-
 
+
!Leading beneficiary
{| style="text-align:left; margin-left:5%;"
+
|EURO-ARGO
 +
|-
 
!Author(s)
 
!Author(s)
!Beneficiary/Institution
 
 
|-
 
|-
|Grigor OBOLENSKY
+
|{{{author1}}} ({{{author-association1}}})
|EURO-ARGO
+
{{#if:{{{author2|}}} | |{{{author2}}} ({{{author-association2}}}) | }}
 +
{{#if:{{{author3|}}} | |{{{author3}}} ({{{author-association3}}}) | }}
 +
{{#if:{{{author4|}}} | |{{{author4}}} ({{{author-association4}}}) | }}
 +
{{#if:{{{author5|}}} | |{{{author5}}} ({{{author-association5}}}) | }}
 +
{{#if:{{{author6|}}} | |{{{author6}}} ({{{author-association6}}}) | }}
 +
{{#if:{{{author7|}}} | |{{{author7}}} ({{{author-association7}}}) | }}
 +
{{#if:{{{author8|}}} | |{{{author8}}} ({{{author-association8}}}) | }}
 +
{{#if:{{{author9|}}} | |{{{author9}}} ({{{author-association9}}}) | }}
 +
{{#if:{{{author10|}}} | |{{{author10}}} ({{{author-association10}}}) | }}
 +
|-
 +
!Accepted by
 +
|{{{accepted-by}}}
 +
|-
 +
!Deliverable type
 +
|{{{type}}}
 +
|-
 +
!Dissemination level
 +
|{{{dissemination-level}}}
 +
|-
 +
!Deliverable due date
 +
|{{{delivareble-due-date}}}
 
|-
 
|-
|Arne Körtzinger
+
!Actual Date of Submission
|GEOMAR
+
|{{{actually-delivered-on}}}
|}
 
 
 
'''Accepted by:''' Laurent DELAUNEY – IFREMER - (WP1 leader)
 
 
 
'''Deliverable type:''' [REPORT]
 
 
 
'''Dissemination level:''' PUBLIC
 
 
 
'''Deliverable due date:''' 31.11.2017/M29
 
 
 
'''Actual Date of Submission:''' 25.7.2019/M47
 
 
 
'''ABSTRACT''' The content of the present reports highlights a specific use case ( . . . )
 
 
 
{|
 
!Project internal reviewer(s):
 
!Beneficiary/Institution
 
 
|-
 
|-
|Ari Asmi
+
!Abstract
|University of Helsinki
+
|[[#ABSTRACT]]
 
|-
 
|-
|Laurent Delauney
+
!Project internal reviewer(s)
|Ifremer
+
{{{reviewer1}}} ({{{reviewer-association1}}})
|}
+
{{#if:{{{reviewer2|}}} | |{{{reviewer2}}} ({{{reviewer-association2}}}) | }}
 
+
{{#if:{{{reviewer3|}}} | |{{{reviewer3}}} ({{{reviewer-association3}}}) | }}
'''Document history:'''
+
{{#if:{{{reviewer4|}}} | |{{{reviewer4}}} ({{{reviewer-association4}}}) | }}
 
+
{{#if:{{{reviewer5|}}} | |{{{reviewer5}}} ({{{reviewer-association5}}}) | }}
{|
+
!Document history
 
!Date
 
!Date
 
!Version
 
!Version
 
|-
 
|-
|02.07.2019
+
|{{{date1}}}
|Draft version
+
|{{{version1}}}
 
|-
 
|-
|24.07.2019
+
{{#if:{{{date2|}}} | |{{{date2}}} | }}
|Accepted by Laurent Delauney
+
{{#if:{{{version2|}}} | |{{{version2}}} | }}
 +
{{#if:{{{date3|}}} | |{{{date3}}} | }}
 +
{{#if:{{{version3|}}} | |{{{version3}}} | }}
 +
{{#if:{{{date4|}}} | |{{{date4}}} | }}
 +
{{#if:{{{version4|}}} | |{{{version4}}} | }}
 +
{{#if:{{{date5|}}} | |{{{date5}}} | }}
 +
{{#if:{{{version5|}}} | |{{{version5}}} | }}
 +
{{#if:{{{date6|}}} | |{{{date6}}} | }}
 +
{{#if:{{{version6|}}} | |{{{version6}}} | }}
 +
{{#if:{{{date7|}}} | |{{{date7}}} | }}
 +
{{#if:{{{version7|}}} | |{{{version7}}} | }}
 +
{{#if:{{{date8|}}} | |{{{date8}}} | }}
 +
{{#if:{{{version8|}}} | |{{{version8}}} | }}
 +
{{#if:{{{date9|}}} | |{{{date9}}} | }}
 +
{{#if:{{{version9|}}} | |{{{version9}}} | }}
 +
{{#if:{{{date10|}}} | |{{{date10}}} | }}
 +
{{#if:{{{version10|}}} | |{{{version10}}} | }}
 
|}
 
|}
  

Revision as of 05:48, 25 August 2020

An expandable navFrame for document metadata.

Parameters:

{{DocumentMetadata
| project = (Wiki link. Should match a category.)
| deliverable-nr = 
| title = 
| work-package = 
| 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 = (Name - Affiliation - Role.)
| deliverable-type = (Wiki link. Should match a category.)
| dissemination-type = (By default PUBLIC.)
| deliverable-due-date = (ISO 8601 format, ie. YYYY-MM-DD)
| actually-delivered-on = 

| date1 = (Document history)
| 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: